aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_aai_service.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-10-19 15:31:09 +0200
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-10-19 15:46:38 +0200
commitaab90460891047b661ea708072753f49c536a434 (patch)
tree9ebcc330a1fc22f7f8cd8677525fe74a052c2ac8 /tests/test_aai_service.py
parent314155103511064dfb09597cb4a908d04ac9e491 (diff)
Fix tests for Python 3.12 version
Some attributes were deprecated and are not available on Python 3.12 version Issue-ID: TEST-404 Change-Id: Ib306e6515038ea245c56c3ea64c434b003a92bf6 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Diffstat (limited to 'tests/test_aai_service.py')
-rw-r--r--tests/test_aai_service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_aai_service.py b/tests/test_aai_service.py
index c358f4d..e8cd160 100644
--- a/tests/test_aai_service.py
+++ b/tests/test_aai_service.py
@@ -777,7 +777,7 @@ def test_cloud_region_complex_property(mock_complex_get_by_physical_location_id,
assert cloud_region.complex is None
mock_send.return_value = CLOUD_REGION_RELATIONSHIP
assert cloud_region.complex is not None
- assert mock_complex_get_by_physical_location_id.called_once_with("integration_test_complex")
+ mock_complex_get_by_physical_location_id.assert_called_once_with("integration_test_complex")
@mock.patch.object(ServiceInstance, 'send_message')