def setUpClass(cls): try: del os.environ['KEEP_LOCAL_STORE'] except KeyError: pass run_test_server.run() run_test_server.run_keep(blob_signing_key='abcdefghijk0123456789', enforce_permissions=False)
def setUpClass(cls): super(KeepProxyTestCase, cls).setUpClass() try: del os.environ['KEEP_LOCAL_STORE'] except KeyError: pass os.environ["ARVADOS_KEEP_PROXY"] = "" os.environ["ARVADOS_EXTERNAL_CLIENT"] = "" run_test_server.run() run_test_server.run_keep() arvados.keep.global_client_object = None arvados.config._settings = None run_test_server.run_keep_proxy("admin") KeepProxyTestCase.arvados_keep_proxy = arvados.config.get("ARVADOS_KEEP_PROXY")
def setUpClass(cls): super(KeepTestCase, cls).setUpClass() try: del os.environ['KEEP_LOCAL_STORE'] except KeyError: pass # Make sure these are clear, we want to talk to the Keep servers # directly. os.environ["ARVADOS_KEEP_PROXY"] = "" os.environ["ARVADOS_EXTERNAL_CLIENT"] = "" run_test_server.run() run_test_server.run_keep() arvados.keep.global_client_object = None arvados.config._settings = None run_test_server.authorize_with("admin")
def setUpClass(cls): try: del os.environ['KEEP_LOCAL_STORE'] except KeyError: pass # Use the blob_signing_key from the Rails "test" configuration # to provision the Keep server. with open(os.path.join(os.path.dirname(__file__), run_test_server.ARV_API_SERVER_DIR, "config", "application.yml")) as f: rails_config = yaml.load(f.read()) try: config_blob_signing_key = rails_config["test"]["blob_signing_key"] except KeyError: config_blob_signing_key = rails_config["common"]["blob_signing_key"] run_test_server.run() run_test_server.run_keep(blob_signing_key=config_blob_signing_key, enforce_permissions=True)
def setUpClass(cls): run_test_server.run() run_test_server.run_keep(enforce_permissions=True, num_servers=2)
def setUpClass(cls): run_test_server.run() run_test_server.run_keep(enforce_permissions=True, num_servers=2) run_test_server.authorize_with('active')
def start(): run_test_server.run() run_test_server.run_keep()