🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

pytest-peach

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-peach

pytest plugin for fuzzing with Peach API Security

1.5.41
PyPI
Maintainers
1

pytest-peach

pytest-peach is a plugin for py.test <http://pytest.org>_ that integrates with Peach API Security <https://peach.tech>_. 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.

Keywords

py.test pytest fuzzing peach

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts