Skip to content

Commit 4886b02

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Use unittest.mock instead of third party mock"
2 parents 790ead0 + 725e004 commit 4886b02

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

lower-constraints.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ kombu==4.0.0
4444
linecache2==1.0.0
4545
MarkupSafe==1.1.0
4646
mccabe==0.2.1
47-
mock==2.0.0
4847
monotonic==0.6
4948
mox3==0.20.0
5049
msgpack-python==0.4.0

openstackclient/tests/unit/identity/v3/test_access_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
#
1515

1616
import copy
17+
from unittest import mock
1718

18-
import mock
1919
from osc_lib import exceptions
2020
from osc_lib import utils
2121

test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ hacking>=2.0.0 # Apache-2.0
55
coverage!=4.4,>=4.0 # Apache-2.0
66
fixtures>=3.0.0 # Apache-2.0/BSD
77
flake8-import-order>=0.13 # LGPLv3
8-
mock>=2.0.0 # BSD
98
oslotest>=3.2.0 # Apache-2.0
109
requests>=2.14.2 # Apache-2.0
1110
requests-mock>=1.2.0 # Apache-2.0

0 commit comments

Comments
 (0)