mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Fix tests
This commit is contained in:
parent
6db96abe2f
commit
2784edb15e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue