Fixed #19095 -- invalid code in multidb tests.

This commit is contained in:
Aymeric Augustin 2012-10-09 21:23:02 +02:00
parent 273b96ef9d
commit c9b4e9ac3a
1 changed files with 2 additions and 1 deletions

View File

@ -652,7 +652,8 @@ class QueryTestCase(TestCase):
new_bob_profile = UserProfile(flavor="spring surprise") new_bob_profile = UserProfile(flavor="spring surprise")
charlie = User(username='charlie',email='charlie@example.com') # assigning a profile requires a explicit pk as the object isn't saved
charlie = User(pk=51, username='charlie', email='charlie@example.com')
charlie.set_unusable_password() charlie.set_unusable_password()
# initially, no db assigned # initially, no db assigned