mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #24714 -- Used more specific assertions than assertEqual in tests.
This commit is contained in:
parent
3b133ffb8b
commit
eaeea6f947
17 changed files with 83 additions and 82 deletions
|
@ -35,7 +35,7 @@ class FormMixinTests(TestCase):
|
|||
request = get_request
|
||||
|
||||
default_kwargs = TestFormMixin().get_form_kwargs()
|
||||
self.assertEqual(None, default_kwargs.get('prefix'))
|
||||
self.assertIsNone(default_kwargs.get('prefix'))
|
||||
|
||||
set_mixin = TestFormMixin()
|
||||
set_mixin.prefix = test_string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue