diff options
| author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2014-03-02 15:25:53 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-03 07:38:09 -0500 |
| commit | 0d912258921a442c48d5787228db2db5af7e8fa5 (patch) | |
| tree | f6826425de5bca2498c46e5242b870282a34eda2 /tests/multiple_database/tests.py | |
| parent | 6acaa5238668593d6d854b28dbfa65e95796585c (diff) | |
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
Diffstat (limited to 'tests/multiple_database/tests.py')
| -rw-r--r-- | tests/multiple_database/tests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py index 8ffe00578b..8f3ff29dcf 100644 --- a/tests/multiple_database/tests.py +++ b/tests/multiple_database/tests.py @@ -182,7 +182,7 @@ class QueryTestCase(TestCase): dive = Book.objects.using('other').get(title="Dive into Python") mark = Person.objects.using('other').get(name="Mark Pilgrim") - # Retrive related object by descriptor. Related objects should be database-baound + # Retrieve related object by descriptor. Related objects should be database-bound self.assertEqual(list(dive.authors.all().values_list('name', flat=True)), ['Mark Pilgrim']) @@ -397,7 +397,7 @@ class QueryTestCase(TestCase): chris = Person.objects.using('other').create(name="Chris Mills") - # Save the author's favourite books + # Save the author's favorite books pro.editor = george pro.save() @@ -425,7 +425,7 @@ class QueryTestCase(TestCase): chris = Person.objects.using('other').get(name="Chris Mills") dive = Book.objects.using('other').get(title="Dive into Python") - # Retrive related object by descriptor. Related objects should be database-baound + # Retrieve related object by descriptor. Related objects should be database-bound self.assertEqual(list(chris.edited.values_list('title', flat=True)), ['Dive into Python']) @@ -620,7 +620,7 @@ class QueryTestCase(TestCase): alice_profile = UserProfile.objects.using('default').get(flavor='chocolate') bob_profile = UserProfile.objects.using('other').get(flavor='crunchy frog') - # Retrive related object by descriptor. Related objects should be database-baound + # Retrieve related object by descriptor. Related objects should be database-bound self.assertEqual(alice_profile.user.username, 'alice') self.assertEqual(bob_profile.user.username, 'bob') @@ -721,7 +721,7 @@ class QueryTestCase(TestCase): # Reget the objects to clear caches dive = Book.objects.using('other').get(title="Dive into Python") - # Retrive related object by descriptor. Related objects should be database-bound + # Retrieve related object by descriptor. Related objects should be database-bound self.assertEqual(list(dive.reviews.all().values_list('source', flat=True)), ['Python Weekly']) |
