Style fixes
This commit is contained in:
parent
cc4258c015
commit
0167e1e7bf
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from data import model
|
from data import model
|
||||||
|
|
|
@ -151,7 +151,7 @@ def _attach_service(login_service, user_obj, lid, lusername):
|
||||||
service username.
|
service username.
|
||||||
"""
|
"""
|
||||||
metadata = {
|
metadata = {
|
||||||
'service_username': lusername
|
'service_username': lusername,
|
||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -183,7 +183,7 @@ def _register_service(login_service):
|
||||||
|
|
||||||
# Conduct login.
|
# Conduct login.
|
||||||
metadata = {
|
metadata = {
|
||||||
'service_username': lusername
|
'service_username': lusername,
|
||||||
}
|
}
|
||||||
|
|
||||||
result = _conduct_oauth_login(authentication, login_service, lid, lusername, lemail,
|
result = _conduct_oauth_login(authentication, login_service, lid, lusername, lemail,
|
||||||
|
|
Reference in a new issue