mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #16196 - Redundant or incorrect code in tests
Thanks to intelliyole and melinath for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9e952be26f
commit
430b819967
11 changed files with 24 additions and 29 deletions
|
|
@ -1612,7 +1612,6 @@ class AntiPetRouter(object):
|
|||
return model._meta.object_name == 'Pet'
|
||||
else:
|
||||
return model._meta.object_name != 'Pet'
|
||||
return None
|
||||
|
||||
class FixtureTestCase(TestCase):
|
||||
multi_db = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue