mockpatch: deprecate in favor of native fixtures
Change-Id: I3efb3c64ebce396e756a47d110a74fe8604b6b72
This commit is contained in:
parent
345832a52c
commit
5e2a84d417
@ -15,10 +15,16 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from debtcollector import removals
|
||||
import fixtures
|
||||
from six.moves import mock
|
||||
|
||||
|
||||
removals.removed_module("oslotest.mockpatch", replacement="fixtures",
|
||||
version="1.13", removal_version="2.0",
|
||||
message="Use fixtures.Mock* classes instead")
|
||||
|
||||
|
||||
class _Base(fixtures.Fixture):
|
||||
def setUp(self):
|
||||
super(_Base, self).setUp()
|
||||
|
@ -11,3 +11,4 @@ testtools>=1.4.0
|
||||
mock>=1.2
|
||||
mox3>=0.7.0
|
||||
os-client-config!=1.6.2,>=1.4.0
|
||||
debtcollector>=0.3.0 # Apache-2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user