Refactor JWT auth to not import app locally
This commit is contained in:
parent
ee154c37a8
commit
331c300893
4 changed files with 27 additions and 24 deletions
|
@ -94,7 +94,8 @@ class JWTAuthTestCase(LiveServerTestCase):
|
|||
self.jwt_auth = JWTAuthUsers(
|
||||
self.get_server_url() + '/user/exists',
|
||||
self.get_server_url() + '/user/verify',
|
||||
'authy', JWTAuthTestCase.public_key.name)
|
||||
'authy', '', app.config['HTTPCLIENT'],
|
||||
JWTAuthTestCase.public_key.name)
|
||||
|
||||
def tearDown(self):
|
||||
finished_database_for_testing(self)
|
||||
|
|
Reference in a new issue