1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

[1.7.x] Fixed #22653 -- Added some database feature flags to tests.

Thanks Rahul Priyadarshi.

Backport of 99f5ea9cc8 from master
This commit is contained in:
Tim Graham
2014-06-11 11:45:18 -04:00
parent 7bd2ad1dd9
commit 45e47f7b95
4 changed files with 7 additions and 2 deletions

View File

@@ -402,6 +402,7 @@ if connection.features.allows_auto_pk_0:
# registered serializers are automatically tested.
@skipUnlessDBFeature('can_defer_constraint_checks')
class SerializerTests(TestCase):
def test_get_unknown_serializer(self):
"""