[Answer]-Django 1.6.1 Fixtures not getting loaded for Unittest

1👍

According to fixture loading documentation:

Once you’ve created a fixture and placed it in a fixtures directory in
one of your INSTALLED_APPS
, you can use it in your unit tests by
specifying a fixtures class attribute on your django.test.TestCase
subclass:

Just specify the filename, not relative path from project directory:

fixtures = ['test_device.json']

Leave a comment