From d636b153febee4126b9b8b98fdbba511f8dd1c70 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 15 Jul 2015 14:42:48 +0200 Subject: [PATCH] Automate testing with tox --- .gitignore | 1 + tox.ini | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index 26f45c8..153005d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .*.swp *.pyc __pycache__/ +.tox # Build related *.egg-info diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..ab5d39c --- /dev/null +++ b/tox.ini @@ -0,0 +1,13 @@ +[tox] +envlist = py27,py34 + +[testenv] +changedir={toxinidir}/Tests +commands = + {envpython} {toxinidir}/Tests/t_ldapurl.py + {envpython} {toxinidir}/Tests/t_cext.py + {envpython} {toxinidir}/Tests/t_search.py + {envpython} {toxinidir}/Tests/Lib/ldap/schema/test_tokenizer.py + {envpython} {toxinidir}/Tests/Lib/ldap/test_modlist.py + {envpython} {toxinidir}/Tests/Lib/test_ldapurl.py +