Index: infra_libs/test/httplib2_utils_test.py |
diff --git a/infra_libs/test/httplib2_utils_test.py b/infra_libs/test/httplib2_utils_test.py |
index 5529fc0226821433f15218f2176c7a689a6c0c45..9e32bc40402c1e5aefd8d29b9d574af3ab0b3acf 100644 |
--- a/infra_libs/test/httplib2_utils_test.py |
+++ b/infra_libs/test/httplib2_utils_test.py |
@@ -138,6 +138,13 @@ class RetriableHttplib2Test(unittest.TestCase): |
_MOCK_REQUEST = mock.call('http://foo/', 'GET', None) |
+ def test_authorize(self): |
+ http = infra_libs.RetriableHttp(httplib2.Http()) |
+ creds = infra_libs.get_signed_jwt_assertion_credentials( |
+ 'valid_creds.json', |
+ service_accounts_creds_root=DATA_DIR) |
+ creds.authorize(http) |
+ |
def test_delegate_get_attr(self): |
"""RetriableHttp should delegate getting attribute except request() to |
Http""" |