sitepackages = True
# Don't fail or warn on uninstalled commands
whitelist_externals =
- flake8
createdb
dropdb
+ flake8
+ cmp.py
+ rm.py
[general]
commands =
{[testenv]commands}
{envpython} -m pytest --cov=sqlconvert
{envpython} {envbindir}/mysql2sql -P demo/demo.sql test.out
- {envpython} {envbindir}/cmp.py -i tests/mysql2sql/test.out test.out
- {envpython} {envbindir}/rm.py test.out
+ cmp.py -i tests/mysql2sql/test.out test.out
+ rm.py test.out
[testenv:py27]
commands = {[general]commands}
[sqlite]
commands =
{[testenv]commands}
- -{envpython} {envbindir}/rm.py /tmp/test.sqdb
+ -rm.py /tmp/test.sqdb
{envpython} -m pytest --cov=sqlconvert -D sqlite:///tmp/test.sqdb
- {envpython} {envbindir}/rm.py /tmp/test.sqdb
+ rm.py /tmp/test.sqdb
[testenv:py27-sqlite]
commands = {[sqlite]commands}
[sqlite-w32]
commands =
{[testenv]commands}
- -{envpython} {envbindir}/rm.py C:/projects/sqlconvert/test.sqdb
+ -rm.py C:/projects/sqlconvert/test.sqdb
pytest --cov=sqlconvert -D sqlite:/C:/projects/sqlconvert/test.sqdb?debug=1
- {envpython} {envbindir}/rm.py C:/projects/sqlconvert/test.sqdb
+ rm.py C:/projects/sqlconvert/test.sqdb
[testenv:py27-sqlite-w32]
commands = {[sqlite-w32]commands}