Skip to content

Commit

Permalink
Merge pull request inspirehep#4327 from MJedr/fix-async-tests
Browse files Browse the repository at this point in the history
fix async tests (missing request)
  • Loading branch information
MJedr authored Nov 10, 2023
2 parents 199db8e + 0861202 commit eb5b95c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/integration_async/test_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,13 @@ def test_wf_replaces_old_workflow_which_is_in_halted_state(
headers=_get_headers_for_hep_root_table_request(),
status_code=200,
)
request_mocker.register_uri(
"GET",
"http://web:8000/curation/literature/normalize-journal-titles",
json={"normalized_journal_titles": {}},
headers=_get_headers_for_hep_root_table_request(),
status_code=200,
)
request_mocker.register_uri(
"POST",
"http://web:8000/matcher/linked_references/",
Expand Down Expand Up @@ -405,6 +412,13 @@ def test_wf_rejects_automatically_when_previous_matched_wf_was_rejected(
headers=_get_headers_for_hep_root_table_request(),
status_code=200,
)
request_mocker.register_uri(
"GET",
"http://web:8000/curation/literature/normalize-journal-titles",
json={"normalized_journal_titles": {}},
headers=_get_headers_for_hep_root_table_request(),
status_code=200,
)
request_mocker.register_uri(
"POST",
"http://web:8000/matcher/linked_references/",
Expand Down

0 comments on commit eb5b95c

Please sign in to comment.