Merge pull request #131 from coreos-inc/moveapp

Refactor JWT auth to not import app locally
This commit is contained in:
Jake Moshenko 2015-06-23 17:24:01 -04:00
commit b21a033ef3
4 changed files with 27 additions and 24 deletions

View file

@ -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)