aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_aai_platform.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-05-25 10:00:26 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-05-25 10:00:26 +0000
commita404c2d0d978f677ccf2a422673b6aa90b704fa0 (patch)
treedf50b9f91e214e74ecc82e6b2eb50066613797d3 /tests/test_aai_platform.py
parente712b6a1378a0a237dffbf053837c5926526293d (diff)
New methods and functionalities for A&AI
Use A&AI v27 version Remove usunsed on gerrit GitLabCI configuration Issue-ID: INT-2187 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Iaa71e129f644647a5cb62c8a3a5d8446b2339268
Diffstat (limited to 'tests/test_aai_platform.py')
-rw-r--r--tests/test_aai_platform.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_aai_platform.py b/tests/test_aai_platform.py
index ed20e50..fbe2753 100644
--- a/tests/test_aai_platform.py
+++ b/tests/test_aai_platform.py
@@ -59,7 +59,7 @@ def test_platform_get_by_name(mock_send):
Platform.get_by_name(name="test-name")
mock_send.assert_called_once_with("GET",
"Get test-name platform",
- "https://aai.api.sparky.simpledemo.onap.org:30233/aai/v23/business/platforms/platform/test-name")
+ "https://aai.api.sparky.simpledemo.onap.org:30233/aai/v27/business/platforms/platform/test-name")
@mock.patch("onapsdk.aai.business.platform.Platform.send_message")
@@ -68,7 +68,7 @@ def test_platform_create(_, mock_send):
Platform.create(name="test-name")
mock_send.assert_called_once_with("PUT",
"Declare A&AI platform",
- "https://aai.api.sparky.simpledemo.onap.org:30233/aai/v23/business/platforms/platform/test-name",
+ "https://aai.api.sparky.simpledemo.onap.org:30233/aai/v27/business/platforms/platform/test-name",
data='{\n "platform-name": "test-name"\n}')