diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-19 21:15:31 -0600 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-19 21:15:31 -0600 |
| commit | be8173af513dfb86edf8fc2fd981cc9ce101229e (patch) | |
| tree | 90964751c478bee168975dfa6148f6b7ecbc8985 /tests | |
| parent | d818e0c9b2b88276cc499974f9eee893170bf0a8 (diff) | |
Fixed a small collection of flake8 violations that had snuck in
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/migrations/test_operations.py | 2 | ||||
| -rw-r--r-- | tests/migrations/test_state.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index 1a856a6f2d..eda356fd5d 100644 --- a/tests/migrations/test_operations.py +++ b/tests/migrations/test_operations.py @@ -218,7 +218,7 @@ class OperationTests(MigrationTestBase): self.assertEqual(field.default, NOT_PROVIDED) # Test the database alteration project_state.render().get_model("test_adflpd", "pony").objects.create( - weight = 4, + weight=4, ) self.assertColumnNotExists("test_adflpd_pony", "height") with connection.schema_editor() as editor: diff --git a/tests/migrations/test_state.py b/tests/migrations/test_state.py index 276f404c11..5c71376179 100644 --- a/tests/migrations/test_state.py +++ b/tests/migrations/test_state.py @@ -35,6 +35,7 @@ class StateTests(TestCase): class SubAuthor(Author): width = models.FloatField(null=True) + class Meta: app_label = "migrations" apps = new_apps |
