Open robs-nice99 opened 1 year ago
Just to give some context, the idea is to use requests to call to the server (a custom one, not the standard SimpleHTTP) instead of the
# test
a = 1
assert a == 1
And then check the coverage on that custom server. I get a different error with that code, but while creating a minimum example I got this error and thought I should start here.
@robs-nice99 Sorry I haven't gotten to this yet, but: it looks like you've exposed a secret in your FDZ_PYPI_TOKEN environment variable above. Sorry about that.
I've written an issue about coverage debug sys
revealing secrets: #1628
Describe the bug I get an error instead of a report when running coverage on the following code.
To Reproduce How can we reproduce the problem? Please be specific. Don't link to a failing CI job. Answer the questions below:
What version of Python are you using? Python 3.8.10
What version of coverage.py shows the problem? The output of
coverage debug sys
is helpful.pip freeze
is helpful.test_main.py
.coveragerc
Expected behavior
Get a coverage report
What I got
Error message