We are using django as our main backend, we use django-nose
as our unit test framework. We have recently upgraded from django 1.3 to 1.11, a huge change, we are facing the following issue. When we are django 1.3, the unit tests ran fine, but with django 1.11, it's throwing the below error.
transaction.enter_transaction_management(using=db)
AttributeError: 'module' object has no attribute
'enter_transaction_management'
We found that there is an opened issue going on in django-nose
github.
I thought of two solutions for this problem.
1. As I can understand that enter_transaction_management
and managed
functions are deprecated/removed in django 1.11, were there any replacements or alternatives provided in 1.11???
2. What are the good alternatives to django-nose
??
Please help
These are the github issues.
https://github.com/django-nose/django-nose/issues/226