diff --git a/refstack_client/tests/unit/test_client.py b/refstack_client/tests/unit/test_client.py index 7ab4510..c38384e 100755 --- a/refstack_client/tests/unit/test_client.py +++ b/refstack_client/tests/unit/test_client.py @@ -21,8 +21,8 @@ import os import tempfile import httmock -import mock -from mock import MagicMock +from unittest import mock +from unittest.mock import MagicMock import unittest from refstack_client import refstack_client as rc diff --git a/refstack_client/tests/unit/test_list_parser.py b/refstack_client/tests/unit/test_list_parser.py index 7e20962..6d2ba8d 100644 --- a/refstack_client/tests/unit/test_list_parser.py +++ b/refstack_client/tests/unit/test_list_parser.py @@ -20,7 +20,7 @@ import subprocess import tempfile import httmock -import mock +from unittest import mock import unittest import refstack_client.list_parser as parser diff --git a/test-requirements.txt b/test-requirements.txt index 39b4325..875d094 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,6 +4,5 @@ flake8<3.8.0 docutils>=0.11 # OSI-Approved Open Source, Public Domain stestr>=1.1.0 # Apache-2.0 testtools>=0.9.34 -mock coverage httmock