summaryrefslogtreecommitdiff
path: root/tests/multiple_database/tests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-23 06:09:29 -0400
committerTim Graham <timograham@gmail.com>2013-10-23 06:09:29 -0400
commitae48d77ef8e14dae76fddcd5a677b897c7c7c4ae (patch)
treefc938daf79b1061aeb70c9d7dd33108d2eb63544 /tests/multiple_database/tests.py
parent51d2e1fb233b5507bf14300787939717c4d93834 (diff)
Fixed E225 pep8 warnings.
Diffstat (limited to 'tests/multiple_database/tests.py')
-rw-r--r--tests/multiple_database/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py
index 431d62e112..b00ff8a620 100644
--- a/tests/multiple_database/tests.py
+++ b/tests/multiple_database/tests.py
@@ -39,7 +39,7 @@ class QueryTestCase(TestCase):
# Create a book on the default database using a save
dive = Book()
- dive.title="Dive into Python"
+ dive.title = "Dive into Python"
dive.published = datetime.date(2009, 5, 4)
dive.save()
@@ -74,7 +74,7 @@ class QueryTestCase(TestCase):
# Create a book on the default database using a save
dive = Book()
- dive.title="Dive into Python"
+ dive.title = "Dive into Python"
dive.published = datetime.date(2009, 5, 4)
dive.save(using='other')
@@ -1794,7 +1794,7 @@ class RouterAttributeErrorTestCase(TestCase):
def test_attribute_error_save(self):
"Check that the AttributeError from AttributeErrorRouter bubbles up"
dive = Book()
- dive.title="Dive into Python"
+ dive.title = "Dive into Python"
dive.published = datetime.date(2009, 5, 4)
self.assertRaises(AttributeError, dive.save)