Skip to content

Commit

Permalink
pylama fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Schlenker authored and decentral1se committed Aug 7, 2017
1 parent 1d52bb5 commit 9cf4dc4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def session_db(session_db_factory):
@pytest.fixture
def fake_oic_server(session_db_factory):
from tests.fakeoicsrv import MyFakeOICServer

def fac(name):
return MyFakeOICServer(name, session_db_factory=session_db_factory)
return fac
Expand All @@ -32,6 +33,7 @@ def fac(name):
@pytest.fixture
def mitm_server(session_db_factory):
from tests.mitmsrv import MITMServer

def fac(name):
return MITMServer(name, session_db_factory=session_db_factory)
return fac
Expand Down
1 change: 0 additions & 1 deletion tests/mitmsrv.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from oic.oic.message import RegistrationResponse
from oic.oic.message import TokenErrorResponse
from oic.utils.sdb import AuthnEvent
from oic.utils.sdb import SessionDB
from oic.utils.time_util import utc_time_sans_frac
from oic.utils.webfinger import WebFinger

Expand Down
1 change: 0 additions & 1 deletion tests/test_x_dynreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from oic.extension.message import make_software_statement
from oic.extension.message import unpack_software_statement
from oic.extension.provider import Provider
from oic.utils import sdb
from oic.utils.authn.authn_context import AuthnBroker
from oic.utils.authn.client import BearerHeader
from oic.utils.authn.client import ClientSecretBasic
Expand Down

0 comments on commit 9cf4dc4

Please sign in to comment.