[ARVADOS] updated: 749b87143ebb0bdcbe2d49deee9c66f6de9f86dd

git at public.curoverse.com git at public.curoverse.com
Thu Apr 23 17:52:43 EDT 2015


Summary of changes:
 sdk/python/tests/run_test_server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  749b87143ebb0bdcbe2d49deee9c66f6de9f86dd (commit)
      from  9e0100cee5825584ff7ed6342bf661c026a8bc1d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 749b87143ebb0bdcbe2d49deee9c66f6de9f86dd
Author: Brett Smith <brett at curoverse.com>
Date:   Thu Apr 23 17:52:27 2015 -0400

    run_test_server doesn't assume ARVADOS_API_TOKEN is set.
    
    This makes it slightly more feasible to run this script (and by
    extension tests for individual components like Workbench) outside
    run-tests.sh.  No issue #.

diff --git a/sdk/python/tests/run_test_server.py b/sdk/python/tests/run_test_server.py
index c54dad0..271b525 100644
--- a/sdk/python/tests/run_test_server.py
+++ b/sdk/python/tests/run_test_server.py
@@ -374,7 +374,7 @@ def run_arv_git_httpd():
     gitdir = os.path.join(SERVICES_SRC_DIR, 'api', 'tmp', 'git')
     gitport = find_available_port()
     env = os.environ.copy()
-    del env['ARVADOS_API_TOKEN']
+    env.pop('ARVADOS_API_TOKEN', None)
     agh = subprocess.Popen(
         ['arv-git-httpd',
          '-repo-root='+gitdir+'/test',

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list