diff --git a/tests/utils/test_checks.py b/tests/utils/test_checks.py index 60f4ada67ef..e1d42b73012 100644 --- a/tests/utils/test_checks.py +++ b/tests/utils/test_checks.py @@ -28,14 +28,16 @@ def test_compatibility(self): # Test something pip-installed. with self.assertRaisesMessage( - SystemCheckError, "Invalid or missing arches requirement" + SystemCheckError, + "Arches requirement is invalid, missing, or given by a URL.", ): call_command("check") # Mock having to go to the pyproject.toml with mock.patch("arches.apps.requires", raise_package_not_found_error): with self.assertRaisesMessage( - SystemCheckError, "Invalid or missing arches requirement" + SystemCheckError, + "Arches requirement is invalid, missing, or given by a URL.", ): call_command("check")