pytest-peach is a plugin for py.test that integrates with Peach API Security. Integration includes calling the correct Peach API Security APIs to report test names and not fuzzing setup and teardown requests.
Requirements
You will need the following prerequisites in order to use pytest-peach:
Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 or PyPy
py.test 2.8 or newer
Requests v2.11 or newer
Installation
To install pytest-peach:
$ pip install pytest-peach
From Source
$ python setup.py install
Usage
The integration is intended to be run from CI integrations such as the generic CI runner. Several environmental variables are expected to have been set:
PEACH_API
PEACH_API_TOKEN
PEACH_SESSIONID
PEACH_PROXY
$ pytest –peach=on test_target.py
Arguments
- –peach=on
This argument enables the pytest Peach API Security extention.
Release files for pytest-peach 1.5.41
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-peach-1.5.41.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_peach-1.5.41-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.2 kB
Release files / pytest-peach-1.5.41.tar.gz
| Download URL | pytest-peach-1.5.41.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
101e6e93b46f0e0cbc4ee472ec7e39efa2d50f9788f2ef27b50e4532d7ab67bc
|
|
BLAKE2b-256 checksum How to use checksums |
89d80d7b279c0fe9ded3a3bbaefb5e45555825668170e535f78dcab26fef4650
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15
|
Release files / pytest_peach-1.5.41-py2.py3-none-any.whl
| Download URL | pytest_peach-1.5.41-py2.py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ecead7b698d44ed78439ef124df6cbb82df660d79efabb99f8e8e2a7913dcfbf
|
|
BLAKE2b-256 checksum How to use checksums |
60712132c218ac0b3bd58533fa7fb8becd77b8c4aca6abeb08562897b991e75f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15
|