mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
4
tests/fixtures/tests.py
vendored
4
tests/fixtures/tests.py
vendored
@@ -664,8 +664,8 @@ class NonExistentFixtureTests(TestCase):
|
||||
|
||||
@mock.patch('django.db.connection.enable_constraint_checking')
|
||||
@mock.patch('django.db.connection.disable_constraint_checking')
|
||||
def test_nonexistent_fixture_no_constraint_checking(self,
|
||||
disable_constraint_checking, enable_constraint_checking):
|
||||
def test_nonexistent_fixture_no_constraint_checking(
|
||||
self, disable_constraint_checking, enable_constraint_checking):
|
||||
"""
|
||||
If no fixtures match the loaddata command, constraints checks on the
|
||||
database shouldn't be disabled. This is performance critical on MSSQL.
|
||||
|
||||
Reference in New Issue
Block a user