def setUpClass(cls):
"""Setup the test app."""
cls.test_app = TestApp(core.federer.app.wsgifunc())
cls.endpoint = '/config/deactivate_number'
# Setup a serializer so we can send signed data. Bootstrap the secret.
config_db = ConfigDB()
config_db['bts_secret'] = 'yup'
cls.serializer = itsdangerous.JSONWebSignatureSerializer(
config_db['bts_secret'])
federer_tests.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录