Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A mock API server with configurable routes and responses available as a fixture.
.. image:: https://img.shields.io/pypi/v/pytest-mock-api.svg :target: https://pypi.org/project/pytest-mock-api :alt: PyPI version
.. image:: https://img.shields.io/pypi/pyversions/pytest-mock-api.svg :target: https://pypi.org/project/pytest-mock-api :alt: Python versions
.. image:: https://travis-ci.org/gaucheph/pytest-mock-api.svg?branch=master :target: https://travis-ci.org/gaucheph/pytest-mock-api :alt: See Build Status on Travis CI
.. image:: https://ci.appveyor.com/api/projects/status/github/gaucheph/pytest-mock-api?branch=master :target: https://ci.appveyor.com/project/gaucheph/pytest-mock-api/branch/master :alt: See Build Status on AppVeyor
A mock API server with configurable routes and responses available as a fixture.
This pytest
_ plugin was generated with Cookiecutter
_ along with @hackebrot
's cookiecutter-pytest-plugin
template.
You can install "pytest-mock-api" via pip
_ from PyPI
_::
$ pip install pytest-mock-api
Contributions are very welcome. Tests can be run with tox
_, please ensure
the coverage at least stays the same before you submit a pull request.
Distributed under the terms of the MIT
_ license, "pytest-mock-api" is free and open source software
If you encounter any problems, please file an issue
_ along with a detailed description.
.. _Cookiecutter
: https://github.com/audreyr/cookiecutter
.. _@hackebrot
: https://github.com/hackebrot
.. _MIT
: http://opensource.org/licenses/MIT
.. _BSD-3
: http://opensource.org/licenses/BSD-3-Clause
.. _GNU GPL v3.0
: http://www.gnu.org/licenses/gpl-3.0.txt
.. _Apache Software License 2.0
: http://www.apache.org/licenses/LICENSE-2.0
.. _cookiecutter-pytest-plugin
: https://github.com/pytest-dev/cookiecutter-pytest-plugin
.. _file an issue
: https://github.com/gaucheph/pytest-mock-api/issues
.. _pytest
: https://github.com/pytest-dev/pytest
.. _tox
: https://tox.readthedocs.io/en/latest/
.. _pip
: https://pypi.org/project/pip/
.. _PyPI
: https://pypi.org/project
FAQs
A mock API server with configurable routes and responses available as a fixture.
We found that pytest-mock-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.