Use unittest.mock instead of third party mock

Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I8547aec13aa28fecf75f957e1f2ca7f5c56628ea
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-04-18 11:54:32 -05:00
parent d17cbf17d6
commit e3eef9b56f
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import mock
from unittest import mock
from mistral_extra.actions.openstack import actions
from oslo_config import cfg

View File

@ -8,6 +8,5 @@ doc8>=0.6.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
unittest2>=1.1.0 # BSD
mock>=2.0.0 # BSD
requests-mock>=1.2.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD