Files @ 021b17897224
Branch filter:

Location: rattail-project/rattail/tox.ini

Lance Edgar
Add `files.locking_copy_test()` function.

The hope is that simplifying the lockout will help with certain network
issues that can plague a certain server I know... If this test is
successful then the `locking_copy()` function will be silently replaced.

[tox]
envlist = py26, py27

[testenv]
deps =
        alembic
        coverage
        Fabric
        fixture
        mock
        nose
        py-bcrypt
commands =
        pip install rattail
        nosetests {posargs}

[testenv:coverage]
basepython = python
commands =
        pip install rattail
        nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}

[testenv:docs]
basepython = python
deps =
        alembic
        coverage
        Fabric
        fixture
        mock
        nose
        py-bcrypt
        Sphinx
changedir = docs
commands =
        pip install rattail
        sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs