Pytest covid.
When you do testing to that extent, you're going to find more people, you're going to find more cases. So I said to my people, slow the testing down — please.
The more failures you get, the more tests it will skip.
# pytest.ini
[pytest]
[covid]
enabled = True
fake_news = False
Or if you like Fox News set fake_news = True and test failures will be reported as success.
test failure contamination
For each test failure, 4% of the remaining tests will randomly fail (they get
contaminated), and 1% will be skipped. The effect compounds, so a contaminated test,
will contaminate more tests and skip even more. Even with fake_news=True, except
a failing test will appear to be passing.
Example:
Running 500 test with a 1% change of failing:
tests/test_covid.py ...........F.........s...............F.....s..sF...s....FsF..F.sFFs....sFs...s..F [ 16%]
FFsFFFssFsFss.s..sFFsFssssFFssssFs.sFssssss.sFss.sssss.sss.sss.sFsFssssssssFsssFssssss.sssssFssFsssss [ 36%]
ssssssssssssssssssssssssssss.sss.sssss.ss.ssssssFsFssssssFsssssssFsssssssssssssFFsssFssssssssFsFsFsFs [ 56%]
sssssFsssFssssFssssssssssssFssssssssssssFFsssssssssssssssFsssssssssssFssssssssssssssssssssssss.ssssss [ 76%]
ssssssFssssssssssssssssssssssFssssssFsssssssssssFssssssssssssssssFsssssssssssssssssssFssssssssssssFs. [ 97%]
sssssssssssssss
Same while watching Fox News, or if you believe you'll safe in church:
tests/test_covid.py .....................s....ss..........sssssss.s..s......ss.....s...sss.sss...ss.s [ 16%]
s.s.s..s.ss.s...s..s.s.ss.ss..ssss.s..sssssssssss.ss..sss.sss..s.s.sssssss.s.ss.ss.ssssss.ssss...s..s [ 36%]
ss.ss.ssss.ss...s.sssssss.sssssssssssssssssssssssss.ssss.ssssssssssssssssssssss.ssssssssssssssss.ssss [ 56%]
sssssssssssssssss.ssssssssssssssss.sssssssss.ssssssssssssssssssssssss.s.sssssssssssssssssssssssssss.s [ 76%]
sssssss.ssssssssssssssss.sssss.sssss.sssssssssssssssssssssssssssssssssssssssssss.sssssss.ssssss.sssss [ 97%]
ssssssssssssss
Metadata
Release files for pytest_covid 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_covid-0.0.5.tar.gz | 3.2 kB | Without provenance | Details for pytest_covid-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_covid-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for pytest_covid-0.0.5-py3-none-any.whl |
Total release size: 7.0 kB
Release files / pytest_covid-0.0.5.tar.gz
| Download URL | pytest_covid-0.0.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d414c3fbb2084ba9823accdc4879d1ab154cff7ec1f2b0ad7675ee9cba43b219
|
|
BLAKE2b-256 checksum How to use checksums |
f5ed4511cf3ad3ffc0dc230a2b7839d3231bb6eb22c47e36a07d0e2002194f57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.23.0
|
Release files / pytest_covid-0.0.5-py3-none-any.whl
| Download URL | pytest_covid-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80f0f0a94e8cf92eae3eb0e52331b01047da29490ea86c85cead658d10066b9b
|
|
BLAKE2b-256 checksum How to use checksums |
d89b35756db9ba63e689d36fac67b6ad5fd81e25420d558ecf67115949c79ae7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.23.0
|
Security for pytest_covid 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.