diff options
| author | Andreas Jaeger <aj@suse.com> | 2020-03-31 13:29:58 +0200 |
|---|---|---|
| committer | Andreas Jaeger <aj@suse.com> | 2020-03-31 13:33:41 +0200 |
| commit | e96e99f1ec05ecae17f6cee3c73bb84af3919128 (patch) | |
| tree | 1d740e7260ffbc349593fe3505a46cfad08ca9e1 /troveclient/compat | |
| parent | f859692cc3f3f9ad72546d6b94f991a1558d78af (diff) | |
| download | python-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/compat')
| -rw-r--r-- | troveclient/compat/tests/test_auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/troveclient/compat/tests/test_auth.py b/troveclient/compat/tests/test_auth.py index 2b718c0..134da92 100644 --- a/troveclient/compat/tests/test_auth.py +++ b/troveclient/compat/tests/test_auth.py @@ -107,8 +107,8 @@ class AuthenticatorTest(testtools.TestCase): body = "test_body" authObj.client._time_request = mock.Mock(return_value=(resp, body)) - l = authObj._authenticate(mock.Mock(), mock.Mock()) - self.assertEqual('loc', l) + lo = authObj._authenticate(mock.Mock(), mock.Mock()) + self.assertEqual('loc', lo) # test any response code other than 200 and 305 resp.status = 404 |
