mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
[bugfix] updated pem validation unit tests
This commit is contained in:
parent
098f4eb198
commit
4270e3a17b
@ -26,7 +26,7 @@ def test_invalid_keys():
|
||||
"-----BEGIN FOO-----foobar---END FOO----",
|
||||
"----- BEGIN FOO ----- foobar ----- FAIL FOO ----",
|
||||
"----- FAIL FOO ----- foobar ----- END FOO ----",
|
||||
"----BEGIN FOO----foobar----END BAR----"
|
||||
"----BEGIN FOO----foobar----END BAR----",
|
||||
]
|
||||
for invalid_key in invalid_keys:
|
||||
with pytest.raises(ValidationError):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user