Beispiel #1
0
 def test_fake_time_is_returned(self):
     path.mtime.set_fake_time(123456)
     self.assertEqual(path.mtime('.'), 123456)
Beispiel #2
0
 def test_fake_time_is_returned(self):
     path.mtime.set_fake_time(123456)
     self.assertEqual(path.mtime('.'), 123456)
Beispiel #3
0
 def test_mtime_of_current_dir(self):
     mtime_dir = int(os.stat('.').st_mtime)
     self.assertEqual(mtime_dir, path.mtime('.'))
Beispiel #4
0
 def test_mtime_of_current_dir(self):
     mtime_dir = int(os.stat('.').st_mtime)
     self.assertEqual(mtime_dir, path.mtime('.'))