ui_tests: fix test_config::test_size_limits

Fix a regression caused by: https://pagure.io/freeipa/issue/7606

Signed-off-by: Armando Neto <abiagion@redhat.com>
Reviewed-By: Pavel Picka <ppicka@redhat.com>
This commit is contained in:
Armando Neto 2018-07-02 08:35:55 -03:00 committed by Christian Heimes
parent e140d198ea
commit 79391ad8e1

View File

@ -145,8 +145,11 @@ class test_config(UI_driver):
'Must be an integer')
# test field with negative value
self.assert_field_negative(size_limit_s, '-10',
'Minimum value is -1')
self.assert_field_negative(
size_limit_s, '-10',
"invalid 'searchrecordslimit': must be at least 10",
dialog=True,
)
# test field with space
self.assert_field_negative(size_limit_s, ' 11',