From 68750239640d8acc7f0b2283b530f8d2594a579e Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Sun, 23 Feb 2014 22:32:08 -0800 Subject: Add tox.ini --- test_pies.py | 7 +++++++ tox.ini | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 test_pies.py create mode 100644 tox.ini 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' diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..dac85a3 --- /dev/null +++ b/tox.ini @@ -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 -- cgit v1.2.1