Merge "Use unittest.mock instead of mock"

This commit is contained in:
Zuul 2023-02-08 14:22:13 +00:00 committed by Gerrit Code Review
commit f90090e0fa
3 changed files with 3 additions and 4 deletions

View File

@ -21,8 +21,8 @@ import os
import tempfile import tempfile
import httmock import httmock
import mock from unittest import mock
from mock import MagicMock from unittest.mock import MagicMock
import unittest import unittest
from refstack_client import refstack_client as rc from refstack_client import refstack_client as rc

View File

@ -20,7 +20,7 @@ import subprocess
import tempfile import tempfile
import httmock import httmock
import mock from unittest import mock
import unittest import unittest
import refstack_client.list_parser as parser import refstack_client.list_parser as parser

View File

@ -4,6 +4,5 @@ flake8<3.8.0
docutils>=0.11 # OSI-Approved Open Source, Public Domain docutils>=0.11 # OSI-Approved Open Source, Public Domain
stestr>=1.1.0 # Apache-2.0 stestr>=1.1.0 # Apache-2.0
testtools>=0.9.34 testtools>=0.9.34
mock
coverage coverage
httmock httmock