mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fix a couple of typos in test names and descriptions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
767cf13d76
commit
3d99526fc2
2 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ class QueryTestCase(TestCase):
|
|||
multi_db = True
|
||||
|
||||
def test_db_selection(self):
|
||||
"Check that querysets will use the default databse by default"
|
||||
"Check that querysets will use the default database by default"
|
||||
self.assertEquals(Book.objects.db, DEFAULT_DB_ALIAS)
|
||||
self.assertEquals(Book.objects.all().db, DEFAULT_DB_ALIAS)
|
||||
|
||||
|
@ -1221,7 +1221,7 @@ class RouterTestCase(TestCase):
|
|||
|
||||
mark = Person.objects.using('default').create(pk=2, name="Mark Pilgrim")
|
||||
|
||||
# Now save back onto the usual databse.
|
||||
# Now save back onto the usual database.
|
||||
# This simulates master/slave - the objects exist on both database,
|
||||
# but the _state.db is as it is for all other tests.
|
||||
pro.save(using='default')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue