summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiet Delport <pjdelport@gmail.com>2013-02-22 17:28:08 +0200
committerPiet Delport <pjdelport@gmail.com>2013-02-22 17:28:08 +0200
commitbb57edffb4b051bdd589b4953e51d512f7534716 (patch)
tree3f1771bb116ab37719ea5717c365fe8eb00279c8
parentdba96a147be55be7da657a17a38c21b30ff0e664 (diff)
downloadsqlparse-bb57edffb4b051bdd589b4953e51d512f7534716.tar.gz
Tests: Add a sanity check that bin/sqlformat parses.
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index fe5ef17..fe2a7de 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,11 +5,14 @@ envlist=py25,py26,py27,pypy,py32
deps=
pytest
pytest-cov
-commands=py.test --cov=sqlparse/ tests
+commands=
+ sqlformat --version # Sanity check.
+ py.test --cov=sqlparse/ tests
[testenv:py32]
changedir={envdir}
commands=
+ sqlformat --version # Sanity check.
rm -rf tests/
cp -r {toxinidir}/tests/ tests/
2to3 -w --no-diffs -n tests/