def test_mtime(self):
url = self.root.join("samplefile")
-> assert url.mtime() > 0
def mtime(self):
""" Return the last modification time of the file. """
-> return self.info().mtime