Skip to main content

A package for create venv in tests

Project description

Pytest-pyvenv

This is a simple plugin for pytest that allows you to create a virtual environment inside the tests.

Installation

From PyPI

pip install pytest-pyvenv

From Source

pip install git+https://github.com/msinamsina/pytest-pyvenv.git

Usage

def test_env(pyvenv):
    pyvenv.install_package('pytest-pyvenv')
    pyvenv.run('mkdir -p tests')

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-pyvenv-0.2.4.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

pytest_pyvenv-0.2.4-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page