From be8173af513dfb86edf8fc2fd981cc9ce101229e Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 19 Jan 2014 21:15:31 -0600 Subject: Fixed a small collection of flake8 violations that had snuck in --- tests/migrations/test_operations.py | 2 +- tests/migrations/test_state.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.3