[tox]
envlist = py27, flake8, check-manifest

[testenv]
sitepackages = true
deps =
    mock
    pytest
    pytest-cov
    pytest-xdist
commands =
    py.test \
        --basetemp={envtmpdir} \
        --cov=mopidy_{{ cookiecutter.ext_name }} --cov-report=term-missing \
        {posargs}

[testenv:flake8]
deps =
    flake8
    flake8-import-order
skip_install = true
commands = flake8

[testenv:check-manifest]
deps = check-manifest
commands = check-manifest

[tox]
envlist = py27, flake8, check-manifest

[testenv]
sitepackages = true
deps =
    mock
    pytest
    pytest-cov
    pytest-xdist
commands =
    pytest \
        --basetemp={envtmpdir} \
        --cov=mopidy_{{ cookiecutter.ext_name }} --cov-report=term-missing \
        {posargs}

[testenv:flake8]
deps =
    flake8
    flake8-import-order
skip_install = true
commands = flake8

[testenv:check-manifest]
deps = check-manifest
commands = check-manifest

Use pytest instead of py.test
Use pytest instead of py.test
