Skip to content
Snippets Groups Projects
Verified Commit 39e08987 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Update error message in unit test

parent f9f1fead
No related branches found
No related tags found
1 merge request!182Allow iBGP update on both provisioning and active trunks
Pipeline #86015 passed
This commit is part of merge request !182. Comments created here will be created in the context of that merge request.
......@@ -61,7 +61,7 @@ def test_update_ibgp_mesh_failure(iptrunk_subscription_factory, data_config_file
"subscription_id": ip_trunk.iptrunk.iptrunk_sides[0].iptrunk_side_node.owner_subscription_id
}
exception_message = "Selected router does not terminate any active IP trunks."
exception_message = "Selected router does not terminate any available IP trunks."
with pytest.raises(FormValidationError, match=exception_message):
run_workflow("update_ibgp_mesh", [ibgp_mesh_input_form_data, {}])
......@@ -70,6 +70,6 @@ def test_update_ibgp_mesh_failure(iptrunk_subscription_factory, data_config_file
def test_update_ibgp_mesh_isolated_router(nokia_router_subscription_factory, data_config_filename):
router_id = nokia_router_subscription_factory(router_role=RouterRole.P)
exception_message = "Selected router does not terminate any active IP trunks."
exception_message = "Selected router does not terminate any available IP trunks."
with pytest.raises(FormValidationError, match=exception_message):
run_workflow("update_ibgp_mesh", [{"subscription_id": router_id}, {}])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment