Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Change-Id: If2d0058831e28ca9d877667a4193bcfa3136b2ab
  • Loading branch information
Jaquier Aurélien Tristan committed Jul 3, 2024
1 parent 3a1d323 commit a6937ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/unit_tests/test_nexus_access_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,17 @@ def test_check_mettypes(mock_nexus_access_point, mock_available_etypes, mock_ava

mock_ontology_forge.assert_called_once_with(
mock_nexus_access_point.access_point.access_token,
mock_nexus_access_point.forge_ontology_path
mock_nexus_access_point.forge_ontology_path,
mock_nexus_access_point.access_point.endpoint,
)

mock_check_resource.assert_any_call(
"cAC",
"etype",
access_point=mock_ontology_forge.return_value,
access_token=mock_nexus_access_point.access_point.access_token,
forge_path=mock_nexus_access_point.forge_ontology_path
forge_path=mock_nexus_access_point.forge_ontology_path,
endpoint=mock_nexus_access_point.access_point.endpoint,
)


Expand Down

0 comments on commit a6937ee

Please sign in to comment.