Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalEgn committed Apr 22, 2024
1 parent dec27f6 commit e9cf38d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/integration/workflows/test_article_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def test_set_fermilab_collection_from_report_number(
mocked_api_request_magpie,
mocked_api_request_classifier,
mocked_robotupload,
mocked_check_if_core_and_uk_in_fulltext,
mocked_external_services,
workflow_app,
):
Expand Down Expand Up @@ -196,19 +197,17 @@ def test_set_fermilab_collection_from_report_number(
)
mock.register_uri(
"GET",
"{inspirehep_url}/matcher/exact-match".format(
"{inspirehep_url}/matcher/fuzzy-match".format(
inspirehep_url=workflow_app.config["INSPIREHEP_URL"]
),
json={"matched_ids": []},
json={"matched_data": {}},
headers=_get_headers_for_hep_root_table_request(),
status_code=200,
)
mock.register_uri(
"GET",
"{inspirehep_url}/matcher/fuzzy-match".format(
inspirehep_url=workflow_app.config["INSPIREHEP_URL"]
),
json={"matched_data": {}},
"http://web:8000/matcher/exact-match",
json={"matched_ids": []},
headers=_get_headers_for_hep_root_table_request(),
status_code=200,
)
Expand Down

0 comments on commit e9cf38d

Please sign in to comment.