We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
git clone https://github.com/approvals/ApprovalTests.Python foo cd foo ./run_tests.sh
test_received_filename fails
test_received_filename
The text was updated successfully, but these errors were encountered:
Yup. Fails for me, too.
Even after I s/python/python3/ in ./run_tests.sh.
s/python/python3/
Sorry, something went wrong.
The problem is here: https://github.com/approvals/ApprovalTests.Python/blob/main/tests/integrations/pytest/test_namer.py#L14 (and a few lines down) which hard-code the name of the directory.
If it helps... git rev-parse --show-toplevel returns the absolute path of the project root, either
git rev-parse --show-toplevel
That could be used in various ways with dirname, basename to pass relative paths.
dirname
basename
No branches or pull requests
To Reproduce:
git clone https://github.com/approvals/ApprovalTests.Python foo cd foo ./run_tests.sh
Result:
test_received_filename
failsThe text was updated successfully, but these errors were encountered: