pytest-pyvenv

A package for create venv in tests


Install
pip install pytest-pyvenv==0.2.4

Documentation

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.