Skip to content

Commit

Permalink
more mock fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlongden committed Feb 7, 2025
1 parent f8a4271 commit f33111e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/api/test_topic_entity_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,13 @@ def test_topic_entity_tag(db, auth_headers, test_reference, test_topic_entity_ta
print("***** Adding a test tag *****")
with TestClient(app) as client:
mock_load_name_to_atp_and_relationships()
assert 'ATP:0000122' == atp_get_name('ATP:0000122')
response = client.get(url="/workflow_tag/get_name/ATP:0000122", headers=auth_headers)
assert response.status_code == status.HTTP_200_OK
print(f"ttet create get name: {response.content}")
print(response.text)
print(response.json())
assert response.text == 'ATP:0000122'
print(response.status_code)
new_tet = {
"reference_curie": test_reference.new_ref_curie,
"topic": "ATP:0000122",
Expand Down

0 comments on commit f33111e

Please sign in to comment.