summaryrefslogtreecommitdiff
path: root/talersurvey/tests.py
blob: 7dc2446ac80b768c92dcaace77314ba1364f7907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python3

import os
import unittest
from mock import patch, MagicMock
from talersurvey.survey import survey
from talersurvey.talerconfig import TalerConfig

TC = TalerConfig.from_env()
CURRENCY = TC["taler"]["currency"].value_string(required=True)

class SurveyTestCase(unittest.TestCase):
    def setUp(self):
        survey.app.testing = True
        self.app = survey.app.test_client()

if __name__ == "__main__":
    unittest.main()