Browse Source

Fix tests

Lipu Fei 5 years ago
parent
commit
2784edb15e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/API/TestAccount.py

+ 1 - 1
tests/API/TestAccount.py

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