forked from pool/python-oic
* Drop python 3.5 support * Support for dict in Client.parse_response formats * Better error message for providers which return HTTP Error 405 on userinfo * Add settings class to handle settings related to Client and Server - Add patch fix-scheme-message.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oic?expand=0&rev=13
14 lines
648 B
Diff
14 lines
648 B
Diff
Index: pyoidc-1.3.0/tests/test_oic_provider.py
|
|
===================================================================
|
|
--- pyoidc-1.3.0.orig/tests/test_oic_provider.py
|
|
+++ pyoidc-1.3.0/tests/test_oic_provider.py
|
|
@@ -1351,7 +1351,7 @@ class TestProvider(object):
|
|
# First log record is from server...
|
|
assert isinstance(logcap.records[1].msg, MissingSchema)
|
|
error = (
|
|
- "Invalid URL 'example.com': No schema supplied. Perhaps you meant "
|
|
+ "Invalid URL 'example.com': No scheme supplied. Perhaps you meant "
|
|
"http://example.com?"
|
|
)
|
|
assert str(logcap.records[1].msg) == error
|