diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-02-12 11:01:23 -0500 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2010-02-12 13:14:29 -0700 |
commit | 338578d10ac0978a00948971a17a89dc95435954 (patch) | |
tree | f26b50e0df86834906d40e5a15b96b5926c533bd /tests/test_ipalib | |
parent | b31f259b1a24b5da8a8ed80d27b1f925220e8f24 (diff) | |
download | freeipa-338578d10ac0978a00948971a17a89dc95435954.tar.gz freeipa-338578d10ac0978a00948971a17a89dc95435954.tar.xz freeipa-338578d10ac0978a00948971a17a89dc95435954.zip |
Allow one-character Param names
This is done explicitly to support the l/localityname attribute.
Diffstat (limited to 'tests/test_ipalib')
-rw-r--r-- | tests/test_ipalib/test_parameters.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_ipalib/test_parameters.py b/tests/test_ipalib/test_parameters.py index 1f0a7aec8..c4b2d7535 100644 --- a/tests/test_ipalib/test_parameters.py +++ b/tests/test_ipalib/test_parameters.py @@ -134,10 +134,6 @@ def test_parse_param_spec(): e = raises(TypeError, f, u'name?') assert str(e) == TYPE_ERROR % ('spec', str, u'name?', unicode) - # Test that ValueError is raised if len(spec) < 2: - e = raises(ValueError, f, 'n') - assert str(e) == "spec must be at least 2 characters; got 'n'" - class DummyRule(object): def __init__(self, error=None): |