mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
parent
df8d8d4292
commit
92053acbb9
148 changed files with 2073 additions and 2248 deletions
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue