Skip to content

Commit 8338b3f

Browse files
committed
Merge branch 'oauth2' into assemble
2 parents 31e0d60 + e1beddf commit 8338b3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ def load_conf(filename):
4747
try:
4848
with open(filename) as f:
4949
conf = json.load(f)
50-
except:
51-
logger.warning("Unable to open/read JSON configuration %s" % filename)
52-
raise
50+
except FileNotFoundError:
51+
raise unittest.SkipTest(
52+
"Unable to open/read JSON configuration %s" % filename)
5353
openid_configuration = {}
5454
if "oidp" in conf:
5555
try:

0 commit comments

Comments
 (0)