diff options
| author | SanderBeekhuis <sander.beekhuis@gmail.com> | 2022-04-13 08:31:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-13 08:31:23 +0200 |
| commit | 27d52158b274bfd216db532c517da0f7c0ee1733 (patch) | |
| tree | a44bf8b6cc0f355db89b570256c0713ab3ee7397 /tests/model_forms | |
| parent | 856b52880194ec533fc45a57107bc0fb3387e786 (diff) | |
Fixed #33627 -- Improved nonexistent pk in ModelMultipleChoiceFieldTests.test_model_multiple_choice_field().
Diffstat (limited to 'tests/model_forms')
| -rw-r--r-- | tests/model_forms/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py index 13b871372e..0d54cead70 100644 --- a/tests/model_forms/tests.py +++ b/tests/model_forms/tests.py @@ -2098,7 +2098,7 @@ class ModelMultipleChoiceFieldTests(TestCase): [self.c1, self.c2], ) with self.assertRaises(ValidationError): - f.clean(["100"]) + f.clean(["0"]) with self.assertRaises(ValidationError): f.clean("hello") with self.assertRaises(ValidationError): |
