From 338578d10ac0978a00948971a17a89dc95435954 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 12 Feb 2010 11:01:23 -0500 Subject: Allow one-character Param names This is done explicitly to support the l/localityname attribute. --- tests/test_ipalib/test_parameters.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/test_ipalib/test_parameters.py') 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): -- cgit