Replace mox with mox3

Mox3 is an unofficial port of the Google mox framework
(http://code.google.com/p/pymox/) to Python 3.
https://pypi.python.org/pypi/mox3

Align with global-requirement and update the importing clause.

Partial implement: blueprint py33-support

Change-Id: I5d46d30b72b8504977d8d1891b3b0c81714e9099
This commit is contained in:
Kui Shi
2013-10-16 06:24:44 +08:00
parent ecec0b1ead
commit 8c61700fad
3 changed files with 4 additions and 2 deletions

View File

@@ -11,12 +11,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import mox
import testtools
from heatclient.common import http
from heatclient import exc
from heatclient.tests import fakes
from mox3 import mox
class HttpClientTest(testtools.TestCase):

View File

@@ -20,11 +20,12 @@ import urllib2
import yaml
import fixtures
import mox
import tempfile
import testscenarios
import testtools
from mox3 import mox
try:
import json
except ImportError:

View File

@@ -8,6 +8,7 @@ discover
fixtures>=0.3.14
mock>=1.0
mox>=0.5.3
mox3>=0.7.0
sphinx>=1.1.2
testscenarios>=0.4
testrepository>=0.0.17