How to debug Django unit tests?

I have a Django unit test and I want to put print jobs in it for debugging purposes, but django seems to suppress them. How else can I print the value of a variable? I can hack using statements, etc., but I wonder how people do it.

+6
source share
1 answer

You can increase the number of words with -v 3

+7
source

Source: https://habr.com/ru/post/944935/


All Articles