URL: https://github.com/freeipa/freeipa/pull/2315
Author: serg-cymbaluk
 Title: #2315: [Backport] ui_tests: fix test_config::test_size_limits
Action: opened

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

Signed-off-by: Armando Neto <abiag...@redhat.com>
Reviewed-By: Pavel Picka <ppi...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2315/head:pr2315
git checkout pr2315
From 418b803ea33870d4c26ef4b3eec18cf4829832b2 Mon Sep 17 00:00:00 2001
From: Armando Neto <abiag...@redhat.com>
Date: Mon, 2 Jul 2018 08:35:55 -0300
Subject: [PATCH] ui_tests: fix test_config::test_size_limits

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

Signed-off-by: Armando Neto <abiag...@redhat.com>
Reviewed-By: Pavel Picka <ppi...@redhat.com>
---
 ipatests/test_webui/test_config.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ipatests/test_webui/test_config.py b/ipatests/test_webui/test_config.py
index b65685d0b1..83a522ec60 100644
--- a/ipatests/test_webui/test_config.py
+++ b/ipatests/test_webui/test_config.py
@@ -145,8 +145,11 @@ def test_size_limits(self):
                                    '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',
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to