Files @ c3461507a792
Branch filter:

Location: rattail-project/rattail/tox.ini

Lance Edgar
Fix delete behavior for `ToSQLAlchemy` importer, fix tests

No need to expunge the object when deleting, and that was making tests
break in a way that suggested production breakage also..?

[tox]
envlist = py26, py27

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

[testenv:coverage]
basepython = python
commands =
        pip install --upgrade rattail[db,bouncer] xlrd
        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 --upgrade rattail[bouncer]
        sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs