diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2013-06-03 20:09:34 -0700 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2013-06-05 15:07:36 -0700 |
commit | 1e76bfa886dd340069a5bf80535e5eb8f37a7c88 (patch) | |
tree | 2c0be180acef88d1e1ceb401d1856c5d0f70a5c9 /.testr.conf | |
parent | 8336e63685b06f6165f43cc915d46c0c4bb13b32 (diff) | |
download | gear-1e76bfa886dd340069a5bf80535e5eb8f37a7c88.tar.gz |
Support python3.
Import queue on python3 and Queue on python2. Use bytestrings for all
string constants. Slice byte arrays when comparing to bytestrings. Don't
use basestring. Gear now expects its packet data to be byte strings.
Non data fields may be passed as unicode strings, bytes or bytearrays.
Unicode strings will be converted to bytes using the utf8 encoding.
Change-Id: Iccdd01f9ce6f649f8bbaa93370d330c78c89f087
Diffstat (limited to '.testr.conf')
-rw-r--r-- | .testr.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.testr.conf b/.testr.conf index 7409a5a..4c3aa44 100644 --- a/.testr.conf +++ b/.testr.conf @@ -1,4 +1,4 @@ [DEFAULT] -test_command=OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION +test_command=OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ gear/tests/ $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list |