mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Allow one-character Param names
This is done explicitly to support the l/localityname attribute.
This commit is contained in:
committed by
Jason Gerard DeRose
parent
b31f259b1a
commit
338578d10a
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user