We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e09189 commit f09b23dCopy full SHA for f09b23d
test_app/tests/jwt_consumer/common/test_util.py
@@ -13,7 +13,7 @@ def test_validate_trusted_proxy_header_bad_cached_key_but_correct_setting(self,
13
{"key": rsa_keypair.public, "cached": False},
14
]
15
with override_settings(ANSIBLE_BASE_JWT_KEY=rsa_keypair.public):
16
- with mock.patch("ansible_base.jwt_consumer.common.util.JWTCert.get_decryption_key", create_mock_method(field_dicts)):
+ with mock.patch("ansible_base.jwt_consumer.common.cert.JWTCert.get_decryption_key", create_mock_method(field_dicts)):
17
assert validate_x_trusted_proxy_header(generate_x_trusted_proxy_header(rsa_keypair.private))
18
19
def test_validate_trusted_proxy_header_no_key(self, caplog):
0 commit comments