From 0399110240e0a064c3faae407d9d62ba07281eb9 Mon Sep 17 00:00:00 2001 From: Lenka Doudova Date: Tue, 28 Jun 2016 06:27:41 +0200 Subject: Tests: Fix frontend tests Test ipatests/test_ipalib/test_frontend.py::test_Command::test_validate fails due to attributes that are no longer present, therefore assertion for these values was removed. https://fedorahosted.org/freeipa/ticket/5987 Reviewed-By: Ganna Kaihorodova --- ipatests/test_ipalib/test_frontend.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ipatests/test_ipalib/test_frontend.py b/ipatests/test_ipalib/test_frontend.py index 0a5951159..c3dd9104c 100644 --- a/ipatests/test_ipalib/test_frontend.py +++ b/ipatests/test_ipalib/test_frontend.py @@ -493,10 +493,7 @@ class test_Command(ClassChecker): fail['option0'] = u'whatever' e = raises(errors.ValidationError, sub.validate, **fail) assert_equal(e.name, u'option0') - assert_equal(e.value, u'whatever') assert_equal(e.error, u"must equal 'option0'") - assert e.rule.__class__.__name__ == 'Rule' - assert e.index is None # Check with a missing required arg fail = dict(okay) -- cgit