Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2019-05-21 15:56:00 +0300
committerJaime van Kessel <nallath@gmail.com>2019-05-21 15:56:00 +0300
commit9e6263b1f19960404051b2f2c00c7d5cf62c4cdc (patch)
tree442222d9806c0f7d2fd4939259fe6b2208329594 /tests/TestOAuth2.py
parentca8fa9cfac7364e297c0af80cb71d3175f7a600e (diff)
Change instances of assert_called_once to assert_called_once_with
Grumbles something about python 3.5 and 3.6...
Diffstat (limited to 'tests/TestOAuth2.py')
-rw-r--r--tests/TestOAuth2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestOAuth2.py b/tests/TestOAuth2.py
index d4af485130..358ed5afbb 100644
--- a/tests/TestOAuth2.py
+++ b/tests/TestOAuth2.py
@@ -101,7 +101,7 @@ def test_initialize():
initialize_preferences = MagicMock()
authorization_service = AuthorizationService(OAUTH_SETTINGS, original_preference)
authorization_service.initialize(initialize_preferences)
- initialize_preferences.addPreference.assert_called_once()
+ initialize_preferences.addPreference.assert_called_once_with("test/auth_data", "{}")
original_preference.addPreference.assert_not_called()