12684: Support num_retries in PySDK client constructors
[arvados.git] / services / fuse / tests / test_command_args.py
index ed59029628a5cdf0a5d7e5420d8680cb11039086..600bb0fe227594f15540086ae2ea3526770e4113 100644 (file)
@@ -292,7 +292,7 @@ class MountErrorTest(unittest.TestCase):
 
     def test_bogus_host(self):
         arvados.config._settings["ARVADOS_API_HOST"] = "100::"
-        with self.assertRaises(SystemExit) as ex:
+        with self.assertRaises(SystemExit) as ex, mock.patch('time.sleep'):
             args = arvados_fuse.command.ArgumentParser().parse_args([self.mntdir])
             arvados_fuse.command.Mount(args, logger=self.logger).run()
         self.assertEqual(1, ex.exception.code)