Fix tests

This commit is contained in:
Lipu Fei 2019-05-28 07:57:29 +02:00
parent 6db96abe2f
commit 2784edb15e

View file

@ -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