diff options
author | Victor Stinner <vstinner@redhat.com> | 2016-03-29 17:41:11 +0200 |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2016-04-11 12:09:56 +0200 |
commit | fe52d5549ead0cbaf275677d38b0b3d590e8a455 (patch) | |
tree | fe09d311ed14956f6a747f5df595c33850c0f81a /tox.ini | |
parent | df9e3c571a9e86e63ed5331557daa2f633aa02d1 (diff) | |
download | trove-fe52d5549ead0cbaf275677d38b0b3d590e8a455.tar.gz |
Port more common unit tests to Python 3
* fakes/swift.py: replace httplib import with six.moves.http_client
* replace sorted(dict.iterkeys()) with sorted(dict)
* test_stream_codecs: use byte strings
* test_stream_codecs: add test on non-ASCII byte string
* Replace types.StringTypes with (bytes, six.text_type)
* tox.ini: add test_notification, test_remote and test_stream_codecs
to Python 3
Partially implements: blueprint trove-python3
Change-Id: I9498ff6a8f0a7bae2e9292eb74fc9c44a400754a
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,7 +33,11 @@ commands = python -bb -m testtools.run \ trove/tests/unittests/common/test_context.py \ trove/tests/unittests/common/test_exception.py \ + trove/tests/unittests/common/test_notification.py \ + trove/tests/unittests/common/test_remote.py \ + trove/tests/unittests/common/test_stream_codecs.py \ trove/tests/unittests/common/test_template.py \ + trove/tests/unittests/common/test_utils.py \ trove/tests/unittests/common/test_wsgi.py [testenv:debug] |