Python Helper
Helper functions and classes for executing python unit tests.
Installation
pip install markus-autotest-helpers-python
General helpers
bound_timeout(seconds)
Return a decorator that will time out the test case after seconds seconds.
A MarkUs-compatible function wrapper based on timeout_decorator that will return the original error message if one is raised instead of a Timeout. A TimeoutError will be raised if the provided time (in seconds) is exceeded.
Usage
@bound_timeout(10) # This will timeout if my_function takes longer than 10 seconds to run.
def my_function() -> None:
...
Metadata
Release files for markus-autotest-helpers-python 0.1.0
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 |
|---|---|---|---|---|
| markus_autotest_helpers_python-0.1.0.tar.gz | 9.4 kB | Without provenance | Details for markus_autotest_helpers_python-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| markus_autotest_helpers_python-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for markus_autotest_helpers_python-0.1.0-py3-none-any.whl |
Total release size: 21.8 kB
Release files / markus_autotest_helpers_python-0.1.0.tar.gz
| Download URL | markus_autotest_helpers_python-0.1.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40085135c6b9cfc77165a1e7f8247865386b24df822e30f0d2d5a444858ab5f1
|
|
BLAKE2b-256 checksum How to use checksums |
1f03a4c65470d4fbbfa14629732b6ae4b4743a5aac34aa67c668c38261c9d42a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / markus_autotest_helpers_python-0.1.0-py3-none-any.whl
| Download URL | markus_autotest_helpers_python-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a83afecb641c4533f93f96df428ed72ea64e9c87feee5bba4bb4dbf64583254
|
|
BLAKE2b-256 checksum How to use checksums |
36c65cdb9804326be42b15dd16b4e3d3ff6f95d5aa4074ab79525a19950cc990
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for markus-autotest-helpers-python 0.1.0
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.