Skip to content

Commit

Permalink
Update test re #11114
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls authored and chiatt committed Aug 13, 2024
1 parent eddea79 commit 5132481
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/utils/test_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 5132481

Please sign in to comment.