updates test_mount to use st_mtime_ns instead of st_mtime
authorJoshua Randall <joshua.randall@sanger.ac.uk>
Wed, 10 Feb 2016 12:04:25 +0000 (12:04 +0000)
committerTom Clegg <tom@curoverse.com>
Thu, 29 Dec 2016 02:37:44 +0000 (21:37 -0500)
services/fuse/tests/test_mount.py

index 4c70ce98d3d36bb2d28f77b3ad30a5bbfda42238..c68a28d2ca594343f03fb01a3c7e64dac334d5a9 100644 (file)
@@ -267,14 +267,14 @@ class FuseSharedTest(MountTestBase):
 
         # check mtime on template
         st = os.stat(pipeline_template_path)
-        self.assertEqual(st.st_mtime, 1397493304)
+        self.assertEqual(st.st_mtime_ns, 1397493304)
 
         # check mtime on collection
         st = os.stat(os.path.join(
                 self.mounttmp,
                 'FUSE User',
                 'collection #1 owned by FUSE'))
-        self.assertEqual(st.st_mtime, 1391448174)
+        self.assertEqual(st.st_mtime_ns, 1391448174)
 
 
 class FuseHomeTest(MountTestBase):