[Django]-How can I start django unittest in VSCode?

4👍

The relative import problem is because you set -p to hero which changes the top-level directory to that and so it no longer looks like a package to Python.

The configuration problem is because unittest isn’t running manage.py. You can go to https://github.com/microsoft/vscode-python/issues/73 and 👍 the issue to vote for it to be prioritized.

Leave a comment