Merge pull request #1405 from t-woerner/cert_new_invalid_profile_message

Cert tests: Do not fail on new dogtag profile not found error message
This commit is contained in:
Rafael Guterres Jeffman
2026-01-05 14:38:24 -03:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -194,7 +194,7 @@
profile: invalid_profile
state: requested
register: result
failed_when: not (result.failed and "Request failed with status 400" in result.msg)
failed_when: not (result.failed and ("Request failed with status 400" in result.msg or "Profile not found" in result.msg))
# CLEANUP TEST ITEMS

View File

@@ -207,7 +207,7 @@
profile: invalid_profile
state: requested
register: result
failed_when: not (result.failed and "Request failed with status 400" in result.msg)
failed_when: not (result.failed and ("Request failed with status 400" in result.msg or "Profile not found" in result.msg))
# CLEANUP TEST ITEMS

View File

@@ -194,7 +194,7 @@
profile: invalid_profile
state: requested
register: result
failed_when: not (result.failed and "Request failed with status 400" in result.msg)
failed_when: not (result.failed and ("Request failed with status 400" in result.msg or "Profile not found" in result.msg))
# CLEANUP TEST ITEMS