Use moxstubout and mockpatch from oslotest

Modules moxstubout and mockpatch from openstack/common/fixture/
are obsolete, so we should use them from oslotest library.

Also oslotest depends on mock and mox, so we no longer need
to specify them directly in test-requirements files

Change-Id: I139133457cd73ee83537dead3446ee30d0ee5589
This commit is contained in:
Victor Sergeyev
2014-04-15 18:00:21 +03:00
parent 50c7df905d
commit 43a6b32ae1
3 changed files with 3 additions and 3 deletions

View File

@@ -22,10 +22,10 @@ import socket
import eventlet
from oslotest import base as test_base
from oslotest import moxstubout
from openstack.common import eventlet_backdoor
from openstack.common.fixture import config
from openstack.common.fixture import moxstubout
class BackdoorPortTest(test_base.BaseTestCase):

View File

@@ -33,10 +33,10 @@ from eventlet import event
import mock
import mox
from oslotest import base as test_base
from oslotest import moxstubout
from openstack.common import eventlet_backdoor
from openstack.common.fixture import config
from openstack.common.fixture import moxstubout
from openstack.common import log as logging
from openstack.common.notifier import api as notifier_api
from openstack.common import service

View File

@@ -16,8 +16,8 @@ import os
import socket
from oslotest import base as test_base
from oslotest import moxstubout
from openstack.common.fixture import moxstubout
from openstack.common import systemd