Skip to content
Snippets Groups Projects

Set schema_url and worker_run_id

Merged Yoann Schneider requested to merge update-env-var-worker-tests into master
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -16,5 +16,9 @@ def setup_environment(responses):
)
responses.add_passthru(schema_url)
# Set schema url in environment
os.environ["ARKINDEX_API_SCHEMA_URL"] = schema_url
# Setup a fake worker version ID
os.environ["WORKER_VERSION_ID"] = "1234-{{ cookiecutter.slug }}"
# Setup a fake worker run ID
os.environ["ARKINDEX_WORKER_RUN_ID"] = "1234-{{ cookiecutter.slug }}"
Loading