[Django]-Django Unittest doesn't load fixtures

11👍

Use django.test.TestCase instead of unittest.TestCase.

3👍

This might save someone an extra search or two…

from django.test import TestCase

class MyTestCase(TestCase):
    fixtures = ['myfixture.json']

Leave a comment