diff options
author | Hervé Beraud <hberaud@redhat.com> | 2020-06-09 00:07:31 +0200 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2020-06-09 00:07:31 +0200 |
commit | 2dd101a3af92b357cf54f3f6983db293fea60934 (patch) | |
tree | d65b9227439de7a827f43242fdb2f99da2815bc1 | |
parent | 7869cc9df017a58514f3508830c6a71d2d875ad1 (diff) | |
download | designate-2dd101a3af92b357cf54f3f6983db293fea60934.tar.gz |
Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I59926bc1c116ec6fa0aef270a18001d27dfd3bb3
-rw-r--r-- | designate/tests/test_quota/test_quota.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/designate/tests/test_quota/test_quota.py b/designate/tests/test_quota/test_quota.py index 99f7d423..039dbf7e 100644 --- a/designate/tests/test_quota/test_quota.py +++ b/designate/tests/test_quota/test_quota.py @@ -13,7 +13,7 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -import mock +from unittest import mock from testscenarios import load_tests_apply_scenarios as load_tests # noqa import testtools |