pytest-trialtemp
py.test plugin for using the same _trial_temp working directory as trial
usage
Install the plugin with pip install pytest-trialtemp and it will be used automatically when tests are run.
To disable it for a particular run, use py.test -p no:trialtemp [...] to run your tests. See pytest’s documentation for further options.
why?
I frequently use py.test to run Twisted tests written using trial. This works pretty well on its own, except trial’s temporary directory infrastructure assumes the working directory during test runs is ./_trial_temp or something similar.
In order to avoid littering my project root with annoying test-created temporary directories, I wrote this little plugin.
Metadata
Release files for pytest-trialtemp 1.0.1
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-trialtemp-1.0.1.tar.gz | 1.9 kB | Without provenance | Details for pytest-trialtemp-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_trialtemp-1.0.1-py2-none-any.whl | Python 2 | none | any | Details for pytest_trialtemp-1.0.1-py2-none-any.whl |
Total release size: 5.6 kB
Release files / pytest-trialtemp-1.0.1.tar.gz
| Download URL | pytest-trialtemp-1.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07f324423d242bac168612767facdc41d2023dcc0b490fb01444d83c6f20d3a2
|
|
BLAKE2b-256 checksum How to use checksums |
fc90acfa17e490c4beb09dcadfe5369c27a35856f0ba7dd89ad9a654bd331139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_trialtemp-1.0.1-py2-none-any.whl
| Download URL | pytest_trialtemp-1.0.1-py2-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
a020cc930fec7b55cff564bff612055fb3446e1a81d1dfc5e6db247f0dbc8752
|
|
BLAKE2b-256 checksum How to use checksums |
9cabcec7714c92c45e917a8e6128e87f466c137ad0d3339b73047b0e494152b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-trialtemp 1.0.1
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.