mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 17:05:54 +08:00
Fix tests
This commit is contained in:
parent
6db96abe2f
commit
2784edb15e
@ -46,7 +46,7 @@ def test_logout():
|
|||||||
account._authorization_service = mocked_auth_service
|
account._authorization_service = mocked_auth_service
|
||||||
|
|
||||||
account.logout()
|
account.logout()
|
||||||
mocked_auth_service.deleteAuthData.assert_called_once_with() # We weren't logged in, so nothing should happen
|
mocked_auth_service.deleteAuthData.assert_not_called() # We weren't logged in, so nothing should happen
|
||||||
assert not account.isLoggedIn
|
assert not account.isLoggedIn
|
||||||
|
|
||||||
# Pretend the stage changed
|
# Pretend the stage changed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user