Skip to content

Commit 946fc05

Browse files
committed
Update test
1 parent d908e3b commit 946fc05

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_cli_login.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,8 @@ def test_notify_already_logged_in_user(
172172
return_value=Response(200, json={"email": "[email protected]"})
173173
)
174174

175-
device_auth_mock = respx_mock.post(
176-
"/login/device/authorization", data={"client_id": settings.client_id}
177-
).mock(return_value=Response(200, json={}))
178-
179175
result = runner.invoke(app, ["login"])
180176

181177
assert result.exit_code == 0
182178
assert "Already logged in as [email protected]" in result.output
183179
assert "Run fastapi logout first if you want to switch accounts." in result.output
184-
185-
assert device_auth_mock.call_count == 0

0 commit comments

Comments
 (0)