diff options
author | 2023-05-25 10:00:26 +0000 | |
---|---|---|
committer | 2023-05-25 10:00:26 +0000 | |
commit | a404c2d0d978f677ccf2a422673b6aa90b704fa0 (patch) | |
tree | df50b9f91e214e74ecc82e6b2eb50066613797d3 /tests/test_aai_complex.py | |
parent | e712b6a1378a0a237dffbf053837c5926526293d (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_complex.py')
-rw-r--r-- | tests/test_aai_complex.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_aai_complex.py b/tests/test_aai_complex.py index 13d2cf5..8368d18 100644 --- a/tests/test_aai_complex.py +++ b/tests/test_aai_complex.py @@ -105,9 +105,10 @@ def test_cloud_region_link_to_complex(mock_add_rel): mock_add_rel.assert_called_once() relationship = mock_add_rel.call_args[0][0] assert relationship.related_to == "complex" - assert relationship.related_link == (f"aai/v13/cloud-infrastructure/complexes/" - f"complex/test_location_id") - assert len(relationship.relationship_data) == 2 + assert relationship.related_link == (f"https://aai.api.sparky.simpledemo.onap.org:30233/aai/" + f"v27/cloud-infrastructure/complexes/complex" + f"/test_location_id") + assert len(relationship.relationship_data) == 1 @mock.patch.object(Complex, "send_message_json") |