Hey I'm facing kind of weird problem. I have Django project with 3 applications:
- core
- mturk_manager
- cognito_admin
The mturk_manager is the new one. When I run tests only for this application using command python manage.py test mturk_manager or even with core application together python manage.py mturk_manager core everythings passes as expected. Problem is with application cognito_admin when I run all tests together some of the tests from my new application mturk_manager fails.
I was debugging the problem for such a long time :) and found problem:
In cognito_admin I'm importing external package from moto library
from moto import cognito_idp
even if I have commented out all tests from cognito_admin tests still fails in other application. I really need this package its really usefull. Any ideas how to solve this problem ?
Aucun commentaire:
Enregistrer un commentaire