5824: Enable anonymous use of keep-web in integration tests.
authorTom Clegg <tom@curoverse.com>
Fri, 30 Oct 2015 18:33:44 +0000 (14:33 -0400)
committerTom Clegg <tom@curoverse.com>
Fri, 30 Oct 2015 18:33:44 +0000 (14:33 -0400)
sdk/python/tests/run_test_server.py

index f8f8b18d7637bed76966dc637a622af3dbcb9020..cb824e851a2240a9e3dad5a736775b7c095d488d 100644 (file)
@@ -451,6 +451,7 @@ def run_keep_web():
     env.pop('ARVADOS_API_TOKEN', None)
     keepweb = subprocess.Popen(
         ['keep-web',
+         '-anonymous-token='+fixture('api_client_authorizations')['anonymous']['api_token'],
          '-attachment-only-host=localhost:'+str(keepwebport),
          '-address=:'+str(keepwebport)],
         env=env, stdin=open('/dev/null'), stdout=sys.stderr)