Skip to content

Commit

Permalink
Run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dkirov-dd committed Jan 10, 2025
1 parent ce34c30 commit d69443d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datadog_checks_base/tests/base/utils/http/test_authtoken.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,15 +468,15 @@ def fetch_token(self, *args, **kwargs):
):
with pytest.raises(Exception, match='OAuth2 client credentials grant error: unauthorized_client'):
http.get('https://www.google.com')

@pytest.mark.parametrize(
'token_response',
[
pytest.param({'access_token': 'foo', 'expires_in': 9000}, id='With expires_in'),
pytest.param({'access_token': 'foo'}, id='Without expires_in'),
pytest.param({'access_token': 'foo', 'expires_in': 'two minutes'}, id='With string expires_in'),
]
)
],
)
def test_success(self, token_response):
instance = {
'auth_token': {
Expand Down

0 comments on commit d69443d

Please sign in to comment.