From 39e089872110a27aeab049d0c0fce03b9153e11e Mon Sep 17 00:00:00 2001
From: Karel van Klink <karel.vanklink@geant.org>
Date: Thu, 21 Mar 2024 16:46:14 +0100
Subject: [PATCH] Update error message in unit test

---
 test/workflows/router/test_update_ibgp_mesh.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/workflows/router/test_update_ibgp_mesh.py b/test/workflows/router/test_update_ibgp_mesh.py
index 41dd4371..136a4a61 100644
--- a/test/workflows/router/test_update_ibgp_mesh.py
+++ b/test/workflows/router/test_update_ibgp_mesh.py
@@ -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}, {}])
-- 
GitLab