From 508428d0542acb6b3df374bde77f378f14336713 Mon Sep 17 00:00:00 2001 From: Johanna England Date: Fri, 24 Nov 2023 08:45:18 +0100 Subject: [PATCH] fixup! Add handling for non existent components --- tests/integration/web/maintenance/views_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/web/maintenance/views_test.py b/tests/integration/web/maintenance/views_test.py index b0af25a285..8109fcaae9 100644 --- a/tests/integration/web/maintenance/views_test.py +++ b/tests/integration/web/maintenance/views_test.py @@ -111,7 +111,7 @@ def test_with_non_existent_netbox_key_in_url_should_fail(self, db, client): response = client.get(url, follow=True) assert response.status_code == 200 - assert "netbox: no elements with the given pks found" in smart_str( + assert "netbox: no elements with the given identifiers found" in smart_str( response.content )