New Django test feature: can't find '__main__' module #24331
Replies: 1 comment 1 reply
-
Since I wasn't sure that the problem wasn't due to the fact that I had a src subdirectory in my project, I redid the test with a new Django project, and I have the same issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello team vscode-python, @eleanorjboyd ,
I finally had some time to try the new Django testing in VSCode. Unfortunately, I couldn't get it to work.
Here the log output:
My settings.json:
My launch.json:
cd src && python manage.py test works well in the VS code terminal.
Beta Was this translation helpful? Give feedback.
All reactions