diff options
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") |