python - Launch django unittest with a new database -


the question in title.

how can run unit tests manage.py test command line without having type yes if old test database hasn't been destroyed(this happens when tests aborted).

thanks

try using --noinput option (--no-input alternative alias in django 1.9+).

./manage.py test --noinput 

Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -