diff options
Diffstat (limited to 'tests/multiple_database')
| -rw-r--r-- | tests/multiple_database/tests.py | 6 |
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) |
