-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 1.10 error: No fixture named 'django_admin_smoke_tests' found #9
Comments
Actually, I think the best thing would be to remove the
|
That's a good point about it blocking other fixtures. Feel free to submit a PR removing this feature. Include a note in the README mentioning that it's been removed, since it was requested by another user of this lib. |
I'm seeing this on Django 2.2 Creating a "fixtures/django_admin_smoke_tests.json" file containing just "[]" in one of my apps fixed it. |
Django 1.10 appears to throw an error if a fixture cannot be found, which breaks the default setup described in the README. This isn't fixed by the #8 pull request.
Following the install instructions from README results in this error:
The workaround is either for the user to provide a
django_admin_smoke_tests
fixture (which isn't documented), or to overridefixtures
in the test class.It looks like the tests are passing in the sample project because they all set
fixtures = []
, which doesn't seem ideal. Probably would be better to override_fixture_setup
to only include the fixture if it exists, although I haven't worked out how to do that.The text was updated successfully, but these errors were encountered: