diff options
Diffstat (limited to 'talersurvey/tests.py')
-rw-r--r-- | talersurvey/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/talersurvey/tests.py b/talersurvey/tests.py index 56e66e4..d5845bc 100644 --- a/talersurvey/tests.py +++ b/talersurvey/tests.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 import unittest -from talersurvey.survey import survey from mock import patch, MagicMock +from talersurvey.survey import survey from talersurvey.talerconfig import TalerConfig TC = TalerConfig.from_env() @@ -27,7 +27,7 @@ class SurveyTestCase(unittest.TestCase): mocked_post.assert_called_with( "http://backend.test.taler.net/tip-authorize", json={ - "pickup_url": "http://localhost/tip-pickup", + "pickup_url": "http://localhost/tip-pickup", "amount": { "value": 1, "fraction": 0, @@ -46,7 +46,7 @@ class SurveyTestCase(unittest.TestCase): content_type="application/json") mocked_post.assert_called_with( "http://backend.test.taler.net/tip-pickup", - json={}) + json={}) if __name__ == "__main__": unittest.main() |