Running a Django test case allows you to specify verbosity (0,1,2,3) like this
manage.py test -v 2 myapp.tests.test_mycode.TestMyCode.test_func
How can I receive the verbosity flag inside my test_func
Running a Django test case allows you to specify verbosity (0,1,2,3) like this
manage.py test -v 2 myapp.tests.test_mycode.TestMyCode.test_func
How can I receive the verbosity flag inside my test_func
Copyright © 2021 Jogjafile Inc.
You can use
inspect
module: