pass authnid_client directly to Login handler and other small cleanup

This commit is contained in:
dandds
2018-06-12 15:57:27 -04:00
parent 34f3c7776b
commit 261a00adb2
4 changed files with 15 additions and 15 deletions

View File

@@ -4,13 +4,6 @@ import tornado.web
from concurrent.futures import ThreadPoolExecutor
class MockApiResponse():
def __init__(self, code, json):
self.code = code
self.json = json
@pytest.mark.gen_test
def test_redirects_when_not_logged_in(http_client, base_url):
response = yield http_client.fetch(