Skip to content

Commit 7610b3d

Browse files
committed
Fix incorrect mock patch
1 parent 138a912 commit 7610b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def test_get_token_with_client_secret_with_wrong_secret(post):
172172
e.match("Invalid client id or secret")
173173

174174

175-
@mock.patch("sasctl.core.Session.read_cached_token")
175+
@mock.patch("sasctl.core.Session._read_token_cache")
176176
@mock.patch("sasctl.core.Session._prompt_for_auth_code")
177177
@mock.patch("sasctl.core.requests.Session.post")
178178
def test_get_token_with_auth_code_success(post, prompt, token_cache):

0 commit comments

Comments
 (0)