Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Nov 14, 2023
1 parent 908156e commit 4ca433c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

URL = 'http://localhost'
API_URL = f'{URL}/oapi'
ID = 'urn:x-wmo:md:mwi:mwi_met_centre:surface-weather-observations'
ID = 'urn:x-wmo:md:mw-mw_met_centre:surface-weather-observations'
SESSION = Session()
SESSION.hooks = {
'response': lambda r, *args, **kwargs: r.raise_for_status()
Expand Down Expand Up @@ -115,7 +115,7 @@ def test_metadata_discovery_publish():
# test access of discovery metadata from notification message

countries_and_centre_ids = [
('mw', 'mwi_met_centre'),
('mw', 'mw_met_centre'),
('it', 'roma_met_centre'),
('dz', 'alger_met_centre'),
('ro', 'rnimh'),
Expand Down Expand Up @@ -157,7 +157,7 @@ def test_data_ingest():

assert item_api['reportId'] == 'WIGOS_0-454-2-AWSNAMITAMBO_20210707T145500'
assert item_api['properties']['resultTime'] == '2021-07-07T14:55:00Z' # noqa
item_source = f'2021-07-07/wis/mwi/mwi_met_centre/data/core/weather/surface-based-observations/synop/{item_api["reportId"]}.bufr4' # noqa
item_source = f'2021-07-07/wis/mw-mw_met_centre/data/core/weather/surface-based-observations/synop/{item_api["reportId"]}.bufr4' # noqa
r = SESSION.get(f'{URL}/data/{item_source}') # noqa
assert r.status_code == codes.ok

Expand Down

0 comments on commit 4ca433c

Please sign in to comment.