mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: test_epn: update error messages
Update error messages in the test. Fixes: https://pagure.io/freeipa/issue/8449 Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
parent
97006786df
commit
5452f020f9
@ -457,7 +457,7 @@ class TestEPN(IntegrationTest):
|
||||
self.clients[0], to_nbdays="abc",
|
||||
raiseonerr=False, validatejson=False
|
||||
)
|
||||
assert "error: --to-nbdays must be an integer." in stderr
|
||||
assert "error: --to-nbdays must be a positive integer." in stderr
|
||||
assert rc > 0
|
||||
|
||||
def test_EPN_nbdays_input_3(self):
|
||||
@ -480,7 +480,7 @@ class TestEPN(IntegrationTest):
|
||||
)
|
||||
logger.info(stderr)
|
||||
assert rc > 0
|
||||
assert "error: --to-nbdays must be an integer." in stderr
|
||||
assert "error: --to-nbdays must be a positive integer." in stderr
|
||||
|
||||
# From here the tests build on one another:
|
||||
# 1) add auth
|
||||
|
Loading…
Reference in New Issue
Block a user