01-fix-tests.patch 2.2 KB

12345678910111213141516171819202122232425262728293031
  1. --- contrib/python/oauthlib/tests/openid/connect/core/endpoints/test_claims_handling.py (index)
  2. +++ contrib/python/oauthlib/tests/openid/connect/core/endpoints/test_claims_handling.py (working tree)
  3. @@ -11,7 +11,7 @@ from unittest import mock
  4. from oauthlib.openid import RequestValidator
  5. from oauthlib.openid.connect.core.endpoints.pre_configured import Server
  6. -from tests.oauth2.rfc6749.endpoints.test_utils import get_query_credentials
  7. +from __tests__.oauth2.rfc6749.endpoints.test_utils import get_query_credentials
  8. from tests.unittest import TestCase
  9. --- contrib/python/oauthlib/tests/openid/connect/core/grant_types/test_authorization_code.py (index)
  10. +++ contrib/python/oauthlib/tests/openid/connect/core/grant_types/test_authorization_code.py (working tree)
  11. @@ -14,1 +14,1 @@ from oauthlib.openid.connect.core.grant_types.authorization_code import (
  12. -from tests.oauth2.rfc6749.grant_types.test_authorization_code import (
  13. +from __tests__.oauth2.rfc6749.grant_types.test_authorization_code import (
  14. --- contrib/python/oauthlib/tests/openid/connect/core/grant_types/test_hybrid.py (index)
  15. +++ contrib/python/oauthlib/tests/openid/connect/core/grant_types/test_hybrid.py (working tree)
  16. @@ -8,1 +8,1 @@ from oauthlib.oauth2.rfc6749 import errors
  17. -from tests.oauth2.rfc6749.grant_types.test_authorization_code import (
  18. +from __tests__.oauth2.rfc6749.grant_types.test_authorization_code import (
  19. --- contrib/python/oauthlib/tests/openid/connect/core/grant_types/test_implicit.py (index)
  20. +++ contrib/python/oauthlib/tests/openid/connect/core/grant_types/test_implicit.py (working tree)
  21. @@ -9,1 +9,1 @@ from oauthlib.oauth2.rfc6749 import errors
  22. -from tests.oauth2.rfc6749.grant_types.test_implicit import ImplicitGrantTest
  23. +from __tests__.oauth2.rfc6749.grant_types.test_implicit import ImplicitGrantTest
  24. --- contrib/python/oauthlib/tests/openid/connect/core/grant_types/test_refresh_token.py (index)
  25. +++ contrib/python/oauthlib/tests/openid/connect/core/grant_types/test_refresh_token.py (working tree)
  26. @@ -8,1 +8,1 @@ from oauthlib.common import Request
  27. -from tests.oauth2.rfc6749.grant_types.test_refresh_token import (
  28. +from __tests__.oauth2.rfc6749.grant_types.test_refresh_token import (