Lipu Fei 5 лет назад
Родитель
Сommit
2784edb15e
1 измененных файлов с 1 добавлено и 1 удалено
  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