-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Describe the bug
we have two databases in our django application. it works well to run command "python manage.py runserver 0.0.0.0:8000"
but it stuck when run coverage "coverage run manage.py test --with-xunit" with the message below.
coverage run manage.py test --with-xunit
nosetests --with-xunit --verbosity=1
Using existing test database for alias 'default'...
Using existing test database for alias 'price'...
in fact, the test_default db is done and for the test_price db, the db is created but no one table is created. it seems that the setup process is halted by something when creating table for test_price db.
django's backend
Switch to django's backend (django.db.backends.postgresql), everything is ok.
Environment
- Python Version: 3.8.19
- Django Version: 2.2.28
Metadata
Metadata
Assignees
Labels
No labels