mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 01:08:59 +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.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
|
||||
|
||||
# Pretend the stage changed
|
||||
|
Loading…
x
Reference in New Issue
Block a user