We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2befdb1 commit 8aef61fCopy full SHA for 8aef61f
tests/test_commands.py
@@ -145,6 +145,5 @@ def test_validation_failed_message(self):
145
self.assertIn("783", output_str)
146
# newer Django (>5.1) changes the error message from "does not exist" to "is not a valid choice"
147
self.assertTrue(
148
- any(substring in output_str for substring in ["does not exist", "is not a valid choice"]),
149
- f"Output did not contain 'does not exist' or 'is not a valid choice'. Actual output: {output_str}",
+ any(substring in output_str for substring in ["does not exist", "is not a valid choice"])
150
)
0 commit comments