New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: TA fails run django unittest #564
Comments
So I tracked this particular error down to the version of python. the single
Setup a new venv and this error was replaced by another error:
|
I was stuck at the same place before. As the application is setup now, this needs a working redis connection before any manage.py command can run. Last time I research this, I found various approaches:
Ultimately I don't have a solution, that's why this has been in #415 for a long time... Some other expert out there has a solution? |
I'll see if I can come up with something simply for mock |
v0.4.8 fixes that problem, now running pytest, with already a few tests. please help with extending that. |
I've read the documentation
Operating System
RHEL 9.2
Your Bug Report
Describe the bug
Django's built in test framework fails when no tests are added to the code base of TA
Expected behavior
When creating a new Django app with nothing in it, you should be able to run the test command and have it tell you that there are no tests configured.
Attempting the same in TA results in the following:
Steps To Reproduce
This behaviour is preventing the creation of new test cases for any new PRs
Relevant log output
No logs, this is just attempting to run test cases
Anything else?
No response
The text was updated successfully, but these errors were encountered: