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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user