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:
François Cami 2020-08-07 19:08:39 +02:00 committed by Rob Crittenden
parent 97006786df
commit 5452f020f9

View File

@ -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