X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/262d1e44ddaf3f014423a4acf96a3a6200279820..5d00ecb0932f86e4d2aced3d9258b96522ef38bd:/sdk/python/tests/run_test_server.py?ds=sidebyside diff --git a/sdk/python/tests/run_test_server.py b/sdk/python/tests/run_test_server.py index da35f4fc9b..4c6c2d3b9d 100644 --- a/sdk/python/tests/run_test_server.py +++ b/sdk/python/tests/run_test_server.py @@ -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') @@ -313,10 +314,7 @@ def run(leave_running_atexit=False): env = os.environ.copy() env['RAILS_ENV'] = 'test' env['ARVADOS_TEST_WSS_PORT'] = str(wss_port) - if env.get('ARVADOS_TEST_EXPERIMENTAL_WS'): - env.pop('ARVADOS_WEBSOCKETS', None) - else: - env['ARVADOS_WEBSOCKETS'] = 'yes' + env.pop('ARVADOS_WEBSOCKETS', None) env.pop('ARVADOS_TEST_API_HOST', None) env.pop('ARVADOS_API_HOST', None) env.pop('ARVADOS_API_HOST_INSECURE', None)