Hi!
I am trying to create few nose test for my application.
I need to test registration/login, so want to create a test sqlite3
database, and pre-populate it with some data.
No sure how to do it.
I created a setup method:
def setup():
setup_test_environment()
create_test_db()
But getting an exception on from django.db.backends.creation import
create_test_db....
Please help me to find it out how to use the create_test_db function to
create the db
Also. How to add some data there without running tests first?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---