From 60b6a9fe9d713ea4e2cd8b5fd61ecb852ca3cfc7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 16 Jan 2014 14:31:01 +0100 Subject: [PATCH] python3: Switch to mox3 instead of mox In order to transition to a python 3.x compatible world, lets switch to mox3 which is python 3.x compatible drop-in replacement of mox. Change-Id: Iaa22779cd516f842c9f70828f863f90ddae0bab5 --- oslo/messaging/openstack/common/fixture/moxstubout.py | 2 +- test-requirements.txt | 2 +- tests/test_transport.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/oslo/messaging/openstack/common/fixture/moxstubout.py b/oslo/messaging/openstack/common/fixture/moxstubout.py index e8c031f08..ab4547b4c 100644 --- a/oslo/messaging/openstack/common/fixture/moxstubout.py +++ b/oslo/messaging/openstack/common/fixture/moxstubout.py @@ -16,7 +16,7 @@ # under the License. import fixtures -import mox +from mox3 import mox class MoxStubout(fixtures.Fixture): diff --git a/test-requirements.txt b/test-requirements.txt index 44e2183c5..738dc5bf7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,7 +4,7 @@ hacking>=0.8.0,<0.9 discover fixtures>=0.3.14 mock>=1.0 -mox>=0.5.3 +mox3>=0.7.0 python-subunit testrepository>=0.0.17 testscenarios>=0.4 diff --git a/tests/test_transport.py b/tests/test_transport.py index 095319468..56f5caab3 100644 --- a/tests/test_transport.py +++ b/tests/test_transport.py @@ -14,7 +14,7 @@ # under the License. import fixtures -import mox +from mox3 import mox from oslo.config import cfg import six from stevedore import driver