From a6937ee4147e2a8144faa1813dc6736a64622925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Wed, 3 Jul 2024 14:07:09 +0200 Subject: [PATCH] fix tests Change-Id: If2d0058831e28ca9d877667a4193bcfa3136b2ab --- tests/unit_tests/test_nexus_access_point.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/unit_tests/test_nexus_access_point.py b/tests/unit_tests/test_nexus_access_point.py index ab525154..e70cdded 100644 --- a/tests/unit_tests/test_nexus_access_point.py +++ b/tests/unit_tests/test_nexus_access_point.py @@ -159,7 +159,8 @@ 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( @@ -167,7 +168,8 @@ def test_check_mettypes(mock_nexus_access_point, mock_available_etypes, mock_ava "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, )