mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Removed unused lines in multiple_database test.
This commit is contained in:
parent
ccf7adb064
commit
8cae9bb772
1 changed files with 1 additions and 7 deletions
|
|
@ -94,13 +94,7 @@ class QueryTestCase(TestCase):
|
|||
Book.objects.using('default').get(title="Dive into Python")
|
||||
|
||||
def test_refresh(self):
|
||||
dive = Book()
|
||||
dive.title = "Dive into Python"
|
||||
dive = Book()
|
||||
dive.title = "Dive into Python"
|
||||
dive.published = datetime.date(2009, 5, 4)
|
||||
dive.save(using='other')
|
||||
dive.published = datetime.date(2009, 5, 4)
|
||||
dive = Book(title="Dive into Python", published=datetime.date(2009, 5, 4))
|
||||
dive.save(using='other')
|
||||
dive2 = Book.objects.using('other').get()
|
||||
dive2.title = "Dive into Python (on default)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue