Merge branch '11221-always-restart-services'
[arvados.git] / sdk / python / tests / run_test_server.py
index da35f4fc9b347e201ad304cdb0913b8d40b6bacf..d10e60c22fef1009179c90da126d098a2fdc9c56 100644 (file)
@@ -239,8 +239,9 @@ def run(leave_running_atexit=False):
     # This will clear cached docs that belong to other processes (like
     # concurrent test suites) even if they're still running. They should
     # be able to tolerate that.
-    for fn in glob.glob(os.path.join(arvados.http_cache('discovery'),
-                                     '*,arvados,v1,rest,*')):
+    for fn in glob.glob(os.path.join(
+            str(arvados.http_cache('discovery')),
+            '*,arvados,v1,rest,*')):
         os.unlink(fn)
 
     pid_file = _pidfile('api')