auth/test: yapf format
This commit is contained in:
parent
92877fa70f
commit
da4fb02423
9 changed files with 98 additions and 87 deletions
|
@ -6,11 +6,12 @@ from werkzeug.exceptions import HTTPException
|
|||
|
||||
from app import LoginWrappedDBUser
|
||||
from auth.auth_context import get_authenticated_user
|
||||
from auth.decorators import (extract_namespace_repo_from_session, require_session_login,
|
||||
process_auth_or_cookie)
|
||||
from auth.decorators import (
|
||||
extract_namespace_repo_from_session, require_session_login, process_auth_or_cookie)
|
||||
from data import model
|
||||
from test.fixtures import *
|
||||
|
||||
|
||||
def test_extract_namespace_repo_from_session_missing(app):
|
||||
def emptyfunc():
|
||||
pass
|
||||
|
@ -102,4 +103,3 @@ def test_process_auth_or_cookie_valid_user(app):
|
|||
|
||||
# Ensure the authenticated user was updated.
|
||||
assert get_authenticated_user() == someuser
|
||||
|
||||
|
|
Reference in a new issue