Hi

I created model called 'IPBlock'
I created file 'sql/IPBlock.slq' with some sql inserts
when I run '$python manage.py syncdb' - it works fine IPBlock's table
filled with data
but when i run tests '$python manage.py test' - IPBlock's table is
empty (self.assertTrue(IPBlock.objects.all().count > 0) - failed)

(db backends: mysql, sqlite3)

So what does I need to do to install cusomt sql in test ?

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to