From 2784edb15ed241882b11f2135febdf70ea083226 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Tue, 28 May 2019 07:57:29 +0200 Subject: [PATCH] Fix tests --- tests/API/TestAccount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/API/TestAccount.py b/tests/API/TestAccount.py index 34e803ede4..fd3d5aea55 100644 --- a/tests/API/TestAccount.py +++ b/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