-
-
Notifications
You must be signed in to change notification settings - Fork 240
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.11 SetUpClass error in FastFixtureTestCase: AttributeError: 'module' object has no attribute 'enter_transaction_management' #289
Comments
@jwhitlock @bennylope I have gone through the code in #258 but, he is entirely removing for loop with transaction management. I am wondered how does this solves the problem. Don't we need transaction entirely for setting up |
I have tried the code in #258 with Django 1.11.15 and it gets me past the
I did UPDATE: I tried UPDATE 2: In ignoring the files that weren't present in my virtualenv, I missed the update to INSTALLED_APPS += ['django.contrib.sites', 'django_nose', 'django_extensions',] the few classes that inherit from FastFixtureTestCase pass successfully. I'll try making some more inherit from it. UPDATE 3: And that went quite poorly. At first it resulted in fewer errors, but more failures, from tests that were otherwise passing. Then I tried adding |
I am using django 1.11 and django-nose==1.4.5. This is how my base test case class looks like:
But getting SetUpClass error in FastFixtureTestCase: AttributeError: 'module' object has no attribute 'enter_transaction_management'. I have seen similar issue: #226. Is it fixed?
The text was updated successfully, but these errors were encountered: