diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2017-12-05 18:08:41 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2017-12-05 18:08:41 +0100 |
commit | 450921cef3476197d8ebc3909ee8246f428f7145 (patch) | |
tree | e7f97c000301677a7594ff1027756ebb3b3f62bf /talersurvey/tests.py | |
parent | fc348c3a69c3c36907ef6863748d677254ac382e (diff) | |
download | survey-450921cef3476197d8ebc3909ee8246f428f7145.tar.gz survey-450921cef3476197d8ebc3909ee8246f428f7145.tar.bz2 survey-450921cef3476197d8ebc3909ee8246f428f7145.zip |
linting all but 'app' global name (enforced by Flask)
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() |