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']
Source:stackexchange.com