Hi all.

I've pulled in the latest changes and it seems like ticket #17327 [1] 
introduces a few new tests that are raising errors when I run contrib.auth 
tests via my project:

- 
auth.MultiDBChangepasswordManagementCommandTestCase.test_that_changepassword_command_with_database_option_uses_given_db
- 
auth.MultiDBCreatesuperuserTestCase.test_createsuperuser_command_with_database_option

They raise: ConnectionDoesNotExist: The connection other doesn't exist.

The issue is that the tests assume there there is a database called 
"other," which my test settings didn't have. If I add a database "other" in 
my test settings, the tests pass.

I've played around with override_settings but I'm not sure if that would 
work here. What I've tried so far doesn't.

Any tips?

Thanks,
Ryan Kaskel

[1] https://code.djangoproject.com/ticket/17327

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/WBkMgg6L_1wJ.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to