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:
@@ -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):
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user