Hi All,
When running tests I often end up crashing things and when restarting
the tests i get the line;
Creating test database for alias 'default'...
Got an error creating the test database: (1007, "Can't create database
'test_xxxxx'; database exists")
Type 'yes' if you would like to try deleting the test database
'test_xxxxx', or 'no' to cancel:
So i type 'yes' and finish the tests, then i spend an hour searching
django.org to find the flag needed to suppress this message.
Would other developers support the suggestion that the lines below in
test/util.py be changed to add a helpful little line as suggested
below???
>>>>
confirm = raw_input("Type 'yes' if you would like to try deleting the
test database '%s', or 'no' to cancel: " % TEST_DATABASE_NAME)
<<<<
print "To auto-answer 'yes' to the following question, start your test
runner with the flag ' --noinput' "
confirm = raw_input("Type 'yes' if you would like to try deleting the
test database '%s', or 'no' to cancel: " % TEST_DATABASE_NAME)
<<<<
Regards,
D
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.