Skip to content

Commit

Permalink
flake8, remove md, fix expected numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed Jan 19, 2024
1 parent ce866e6 commit 114ad30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 126 deletions.

This file was deleted.

4 changes: 2 additions & 2 deletions tests/integration/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_metadata_discovery_publish():
"""Test discovery metadata publishing"""

r = SESSION.get(f'{API_URL}/collections/discovery-metadata/items').json()
assert r['numberMatched'] == 5
assert r['numberMatched'] == 6

r = SESSION.get(f'{API_URL}/collections/discovery-metadata/items/{ID}').json() # noqa

Expand Down Expand Up @@ -238,7 +238,7 @@ def test_message_api():

# test messages per test dataset
counts = {
'cn-cma-babj': 11,
'cn-cma-babj': 10,
'mw_met_centre': 25,
'roma_met_centre': 33,
'alger_met_centre': 29,
Expand Down
2 changes: 1 addition & 1 deletion wis2box-management/wis2box/data/universal.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def transform(self, input_data: Union[Path, bytes],
msg = f'Invalid date/time format: {date_time}'
LOGGER.error(msg)
raise ValueError(msg)

rmk = filename.stem
suffix = filename.suffix.replace('.', '')

Expand Down

0 comments on commit 114ad30

Please sign in to comment.