Skip to content

Commit

Permalink
Fixed unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Ketan Umare <[email protected]>
  • Loading branch information
kumare3 committed Mar 28, 2023
1 parent c4c2283 commit 728a81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/flytekit/unit/clients/auth/test_authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_device_flow_authenticator(poll_mock: MagicMock, device_mock: MagicMock,
assert authn._creds


@patch("flytekit.clients.auth.authenticator.requests")
@patch("flytekit.clients.auth.token_client.requests")
def test_client_creds_authenticator_with_custom_scopes(mock_requests):
expected_scopes = ["foo", "baz"]
authn = ClientCredentialsAuthenticator(
Expand Down

0 comments on commit 728a81f

Please sign in to comment.