summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2013-06-12 17:57:00 +0200
committerJulien Danjou <julien@danjou.info>2013-06-12 17:57:00 +0200
commit092c82103def7ec3410d78e080d2c3879c34aa81 (patch)
treea1095b56bfaaa09cfe58c7dedc4483a10e06513b
parent3e3eddf6ff505c38d06b4b76ec46665b6a74e833 (diff)
downloadoslo-utils-092c82103def7ec3410d78e080d2c3879c34aa81.tar.gz
Add basic Python 3 tests
This uses `nose' to load and run tests for the time being, as testrepository tries to load everything, which is not possible currently. Until everything is Python 3 compatible, using `nose' will be simpler to list the specific files we want to run. Blueprint: make-python3-compatible Change-Id: I4c8dbf11ac8c6e0f25bc60a3e880a30bf87a60bd Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--tests/unit/test_excutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_excutils.py b/tests/unit/test_excutils.py
index af3aad1..2e6cdd2 100644
--- a/tests/unit/test_excutils.py
+++ b/tests/unit/test_excutils.py
@@ -15,7 +15,7 @@
import logging
import time
-import mox
+from six.moves import mox # noqa
from openstack.common import excutils
from openstack.common.fixture import moxstubout