diff options
author | Steve Kowalik <steven@wedontsleep.org> | 2022-03-08 16:13:27 +1000 |
---|---|---|
committer | Steve Kowalik <steven@wedontsleep.org> | 2022-03-08 16:13:27 +1000 |
commit | 1912e685ffbd93182a32d29219bd19ce49f39c63 (patch) | |
tree | 00537c4944488c4026c01f803b8b11dab0296ed9 | |
parent | 25c2d3fe9678bb467952e8203cfc8c40f4a86a87 (diff) | |
download | git-review-1912e685ffbd93182a32d29219bd19ce49f39c63.tar.gz |
Switch to unittest.mock
Since mock is a backport of the standard library, and we no longer
support Python 2, we can use the standard library, and drop one external
dependency.
Change-Id: I798c85f1581f4562908c10cd1b58134cdcb40281
-rw-r--r-- | git_review/tests/test_unit.py | 2 | ||||
-rw-r--r-- | test-requirements.txt | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/git_review/tests/test_unit.py b/git_review/tests/test_unit.py index 7dc0c0e..1bbdbff 100644 --- a/git_review/tests/test_unit.py +++ b/git_review/tests/test_unit.py @@ -21,9 +21,9 @@ import io import os import sys import textwrap +from unittest import mock import fixtures -import mock import testtools from git_review import cmd diff --git a/test-requirements.txt b/test-requirements.txt index c175511..c61b89b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,6 @@ # due to non SNI TLS connections being disabled. pbr ; python_version >= "3" and python_version <= "3.5" hacking>=2.0.0,<2.1.0 -mock fixtures>=0.3.14 stestr>=2.2.0,<3.0.0 testtools>=0.9.34 |