[tox]
envlist = py26,py27

[testenv]
deps =
    mock
    pytest
    pytest-cov
    pytest-pep8
    pytest-flakes
    snot
    unittest2
commands =
    py.test --cov {envsitepackagesdir}/mr/awsome_ezjail {posargs} {envsitepackagesdir}/mr/awsome_ezjail

[pytest]
addopts = --pep8 --flakes --cov-report=term --cov-report=html --tb=native
pep8ignore = E501

[tox]
envlist = py26,py27

[testenv]
deps =
    coverage
    mock
    pytest
    pytest-pep8
    pytest-flakes
    snot
    unittest2
commands =
    coverage run {envbindir}/py.test {posargs} {envsitepackagesdir}/mr/awsome_ezjail
    coverage report --include {envsitepackagesdir}/mr/awsome_ezjail/*
    coverage html --include {envsitepackagesdir}/mr/awsome_ezjail/*

[pytest]
addopts = --pep8 --flakes --tb=native
pep8ignore = E501

Use coverage script directly. The plugin does something weird which causes modules imported by fixtures to not be reported correctly.
Use coverage script directly. The plugin does something weird which causes modules imported by fixtures to not be reported correctly.
