Switch to mox3

mox is outdated and unmaintained. Switch to using mox3 instead.

Change-Id: I05ba92da6cbbf97c6a572c46e8d625c56b3a4db9
This commit is contained in:
Sirushti Murugesan 2015-10-02 13:05:51 +05:30
parent 53c5cb22ba
commit 0d8dd9f06a
6 changed files with 14 additions and 20 deletions

View File

@ -1,7 +0,0 @@
import six
if six.PY3:
from mox3 import mox
import sys
sys.modules['mox'] = mox

View File

@ -0,0 +1,5 @@
import sys
from mox3 import mox
sys.modules['mox'] = mox

View File

@ -1,7 +1,5 @@
import six
import sys
from mox3 import mox
if six.PY3:
from mox3 import mox
import sys
sys.modules['mox'] = mox
sys.modules['mox'] = mox

View File

@ -11,14 +11,13 @@
# License for the specific language governing permissions and limitations
# under the License.
import sys
from mox3 import mox
import oslo_i18n as i18n
import six
if six.PY3:
from mox3 import mox
import sys
sys.modules['mox'] = mox
sys.modules['mox'] = mox
def fake_translate_msgid(msgid, domain, desired_locale=None):

View File

@ -20,8 +20,8 @@ Unit Tests for heat.rpc.client
import copy
import mock
from mox import stubout
from oslo_messaging._drivers import common as rpc_common
import stubout
from heat.common import exception
from heat.common import identifier

View File

@ -7,7 +7,6 @@ hacking<0.11,>=0.10.0
bandit>=0.13.2
coverage>=3.6
mock>=1.2
mox>=0.5.3
mox3>=0.7.0
PyMySQL>=0.6.2 # MIT License
oslosphinx>=2.5.0 # Apache-2.0