diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2014-02-23 22:32:08 -0800 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2014-02-23 23:15:51 -0800 |
commit | 68750239640d8acc7f0b2283b530f8d2594a579e (patch) | |
tree | 8a78af35f736c0191cfe08f76720415f911d4e57 | |
parent | 0f93576f6caf7f6d2775b755bdc9bd2ef5030391 (diff) | |
download | pies-68750239640d8acc7f0b2283b530f8d2594a579e.tar.gz |
Add tox.ini
-rw-r--r-- | test_pies.py | 7 | ||||
-rw-r--r-- | tox.ini | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/test_pies.py b/test_pies.py new file mode 100644 index 0000000..5a52b64 --- /dev/null +++ b/test_pies.py @@ -0,0 +1,7 @@ +from __future__ import absolute_import, division, print_function, unicode_literals + +from pies.overrides import * + + +def test_u(): + assert u('Bj\xf6rk Gu\xf0mundsd\xf3ttir') == 'Bj\xf6rk Gu\xf0mundsd\xf3ttir' @@ -0,0 +1,12 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py26, py27, py32, py33, pypy + +[testenv] +commands = py.test {posargs} +deps = + pytest |