mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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>
This commit is contained in:
parent
35d3a58421
commit
0399110240
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user