Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit 78314a8

Browse files
committed
One more
1 parent 52a2f19 commit 78314a8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/test_24_oidc_authorization_endpoint.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,13 +1009,15 @@ def create_endpoint(self):
10091009
)
10101010

10111011
def _reset(self):
1012-
self.endpoint.endpoint_context.sdb.sso_db.clear()
1013-
self.endpoint.endpoint_context.sdb.sso_db.close()
1014-
self.endpoint.endpoint_context.sdb._db.clear()
1015-
self.endpoint.endpoint_context.sdb._db.close()
1012+
_sdb = self.endpoint.endpoint_context.sdb
1013+
_sdb.sso_db.clear()
1014+
_sdb.sso_db.close()
1015+
_sdb._db.clear()
1016+
_sdb._db.close()
10161017

10171018
def test_init(self):
10181019
assert self.endpoint
1020+
self._reset()
10191021

10201022
def test_parse(self):
10211023
_req = self.endpoint.parse_request(AUTH_REQ_DICT)

0 commit comments

Comments
 (0)