summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib/test_frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ipalib/test_frontend.py')
-rw-r--r--tests/test_ipalib/test_frontend.py4
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):
"""