Skip to content
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

Fixture teardown not working with Django 1.7 #193

Open
daineX opened this issue Mar 23, 2015 · 0 comments
Open

Fixture teardown not working with Django 1.7 #193

daineX opened this issue Mar 23, 2015 · 0 comments

Comments

@daineX
Copy link

daineX commented Mar 23, 2015

As of Django 1.7 ConnectionRouter's allow_syncdb has been renamed to allow_migrate:
django/django@12e9804

This causes an AttributeError in https://github.com/django-nose/django-nose/blob/master/django_nose/fixture_tables.py#L124 which in turn causes tables_used_by_fixtures to always return an empty set.

Because of this, fixtures will not be reverted correctly, leaving data behind between tests.

@jwhitlock jwhitlock added this to the Database Testing milestone Apr 28, 2015
@jwhitlock jwhitlock added the bug label Apr 28, 2015
Pike added a commit to Pike/django-nose that referenced this issue May 1, 2015
Pike added a commit to Pike/django-nose that referenced this issue Aug 5, 2015
Pike added a commit to Pike/django-nose that referenced this issue Aug 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants