mox_fixture = self.useFixture(moxstubout.MoxStubout()) usage is deprecated from oslo.test 3.5.0
Bug #1778784 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Matt Riedemann | ||
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
Rocky |
Fix Committed
|
Medium
|
Matt Riedemann |
Bug Description
Due to this deprecation in oslo.test 3.5.0:
We get this warning quite a bit:
nova/test.py:323: DeprecationWarning: Using class 'MoxStubout' (either directly or via inheritance) is deprecated in version '3.5.0'
mox_fixture = self.useFixture
A simple alternative for nova is to just use the same fixture from mox3:
http://
tags: | added: low-hanging-fruit |
Changed in nova: | |
assignee: | nobody → Chason Chan (chen-xing) |
Changed in glance: | |
importance: | Undecided → Medium |
Changed in glance: | |
assignee: | nobody → Monica (monica01) |
Changed in nova: | |
assignee: | Chason Chan (chen-xing) → melanie witt (melwitt) |
Changed in nova: | |
assignee: | melanie witt (melwitt) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Balazs Gibizer (balazs-gibizer) |
Changed in nova: | |
assignee: | Balazs Gibizer (balazs-gibizer) → Matt Riedemann (mriedem) |
no longer affects: | nova/queens |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/579482
Review: https:/