summaryrefslogtreecommitdiff
path: root/troveclient/tests/utils.py
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-03-31 13:29:58 +0200
committerAndreas Jaeger <aj@suse.com>2020-03-31 13:33:41 +0200
commite96e99f1ec05ecae17f6cee3c73bb84af3919128 (patch)
tree1d740e7260ffbc349593fe3505a46cfad08ca9e1 /troveclient/tests/utils.py
parentf859692cc3f3f9ad72546d6b94f991a1558d78af (diff)
downloadpython-troveclient-3.3.1.tar.gz
Update hacking for Python33.3.1
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: I5da442bb2f1e634e6b3fe37a6ea3820cea1db96f
Diffstat (limited to 'troveclient/tests/utils.py')
-rw-r--r--troveclient/tests/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/troveclient/tests/utils.py b/troveclient/tests/utils.py
index 77d8506..b24358b 100644
--- a/troveclient/tests/utils.py
+++ b/troveclient/tests/utils.py
@@ -58,6 +58,7 @@ def _patch_mock_to_raise_for_invalid_assert_calls():
mock.Mock.__getattr__ = raise_for_invalid_assert_calls(
mock.Mock.__getattr__)
+
# NOTE(gibi): needs to be called only once at import time
# to patch the mock lib
_patch_mock_to_raise_for_invalid_assert_calls()