From 9dc2a2c88669de59c6b4c1606095c9404dc0949b Mon Sep 17 00:00:00 2001 From: Ekaterina Sakharova Date: Mon, 20 Nov 2023 11:05:43 +0000 Subject: [PATCH] change api adress --- ci/configuration.yaml | 2 +- config/local-tests.yml | 4 ++-- tests/test_utils/emg_fixtures.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ci/configuration.yaml b/ci/configuration.yaml index 79a212638..33f780ee9 100644 --- a/ci/configuration.yaml +++ b/ci/configuration.yaml @@ -19,5 +19,5 @@ emg: celery_backend: 'redis://localhost:6379/1' results_production_dir: '/dummy/path/results' # metagenomics exchange - me_api: 'https://wwwdev.ebi.ac.uk/ena/registry/metagenome/api/' + me_api: 'https://wwwdev.ebi.ac.uk/ena/registry/metagenome/api' me_api_token: 'mgx 871cd915-2826-46bb-94ed-8e6a3d9b6014' \ No newline at end of file diff --git a/config/local-tests.yml b/config/local-tests.yml index f37eaff5d..b3f7b589b 100644 --- a/config/local-tests.yml +++ b/config/local-tests.yml @@ -16,7 +16,7 @@ emg: celery_backend: 'redis://localhost:6379/1' results_production_dir: '/dummy/path/results' # metagenomics exchange - me_api: 'http://wp-np2-5c.ebi.ac.uk:8080/ena/registry/metagenome/api' + me_api: 'https://wwwdev.ebi.ac.uk/ena/registry/metagenome/api' me_api_token: 'mgx 871cd915-2826-46bb-94ed-8e6a3d9b6014' - me_api_dev: 'http://wp-np2-5c.ebi.ac.uk:8080/ena/registry/metagenome/api' + me_api_dev: 'https://wwwdev.ebi.ac.uk/ena/registry/metagenome/api' me_api_token_dev: 'mgx 871cd915-2826-46bb-94ed-8e6a3d9b6014' \ No newline at end of file diff --git a/tests/test_utils/emg_fixtures.py b/tests/test_utils/emg_fixtures.py index 977121a21..5aef18f9b 100644 --- a/tests/test_utils/emg_fixtures.py +++ b/tests/test_utils/emg_fixtures.py @@ -929,6 +929,7 @@ def make_suppressed_analysis_jobs(quantity, emg_props=None): def suppressed_analysis_jobs(ena_suppressed_runs): suppressed_analysisjobs = make_suppressed_analysis_jobs(quantity=5, emg_props={"is_suppressed": True, + "suppressed_at": '1980-01-01 00:00:00', 'last_populated_me': '1970-01-01 00:00:00'}) return suppressed_analysisjobs