summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLenka Doudova <ldoudova@redhat.com>2016-06-28 06:27:41 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-30 13:17:32 +0200
commit0399110240e0a064c3faae407d9d62ba07281eb9 (patch)
tree5738141d48362bae5ae55f26121f22c6eadea103
parent35d3a58421bc96b2a3c0352cb7d5976042f9cc03 (diff)
downloadfreeipa-0399110240e0a064c3faae407d9d62ba07281eb9.tar.gz
freeipa-0399110240e0a064c3faae407d9d62ba07281eb9.tar.xz
freeipa-0399110240e0a064c3faae407d9d62ba07281eb9.zip
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 <gkaihoro@redhat.com>
-rw-r--r--ipatests/test_ipalib/test_frontend.py3
1 files changed, 0 insertions, 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)