mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 22:19:28 -02:30
[bugfix] updated pem validation unit tests
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user