Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.client.tests.test_web_api_client::test_authenticate_refresh_token
Failed

TEST RESULT

Run At
Aug 27 2020, 1:43 PM
Details
web_api_client = <swh.web.client.client.WebAPIClient object at 0x7f56be781550> web_api_mock = <requests_mock.mocker.Mocker object at 0x7f56be7817b8> def test_authenticate_refresh_token(web_api_client, web_api_mock): rel_id = "b9db10d00835e9a43e2eebef2db1d04d4ae82342" url = f"{web_api_client.api_url}/release/{rel_id}/" oidc_profile_cp = copy(oidc_profile) web_api_client.oidc_session = Mock() web_api_client.oidc_session.refresh.return_value = oidc_profile_cp refresh_token = "user-refresh-token" > web_api_client.authenticate(refresh_token) E AttributeError: 'WebAPIClient' object has no attribute 'authenticate' .tox/py3/lib/python3.7/site-packages/swh/web/client/tests/test_web_api_client.py:160: AttributeError