Fixed #19095 -- invalid code in multidb tests.
This commit is contained in:
parent
273b96ef9d
commit
c9b4e9ac3a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue