Hi!
What is the proper way to use fixtures with doctests? For unittest
we have something like:
from django.test import TestCase
from myapp.models import Animal
class AnimalTestCase(TestCase):
fixtures = ['mammals.json', 'birds']
def setUp(self):
# test definitions as before
But how to load fixture for doctest? Do I have to load it from
doctest's code? There is also initial_data fixture but I don't want to
use it for this purpose.
Regards
--
Jakub Wiśniowski
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---