diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-22 18:48:21 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-03 15:29:01 -0500 |
commit | 244346dbcbe999bb921ee792ddc2ac222532cc56 (patch) | |
tree | 5c6e88a733cb9e304e03a37a792df0358b7f54b4 /tests/test_ipalib | |
parent | 833088955c0e6c606bc8ea96a05ddf6c3a34bc6b (diff) | |
download | freeipa-244346dbcbe999bb921ee792ddc2ac222532cc56.tar.gz freeipa-244346dbcbe999bb921ee792ddc2ac222532cc56.tar.xz freeipa-244346dbcbe999bb921ee792ddc2ac222532cc56.zip |
More work on xmlrpc stuff, started migrated more code to use errors2 instead of errors
Diffstat (limited to 'tests/test_ipalib')
-rw-r--r-- | tests/test_ipalib/test_frontend.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_ipalib/test_frontend.py b/tests/test_ipalib/test_frontend.py index 72fc889e6..91fc83558 100644 --- a/tests/test_ipalib/test_frontend.py +++ b/tests/test_ipalib/test_frontend.py @@ -285,10 +285,8 @@ class test_Command(ClassChecker): # Check with a missing required arg fail = dict(okay) fail.pop('option1') - e = raises(errors.RequirementError, sub.validate, **fail) + e = raises(errors2.RequirementError, sub.validate, **fail) assert e.name == 'option1' - assert e.value is None - assert e.index is None def test_execute(self): """ |