allow number as first letter of a domainname with netbios type
This commit is contained in:
@ -9,6 +9,7 @@ from py.test import raises
|
||||
from tiramisu.config import Config, SubConfig
|
||||
from tiramisu.option import IntOption, FloatOption, StrOption, ChoiceOption, \
|
||||
BoolOption, UnicodeOption, OptionDescription
|
||||
from tiramisu.i18n import _
|
||||
from tiramisu.error import ConflictError, ConfigError, PropertiesOptionError
|
||||
import weakref
|
||||
|
||||
|
@ -42,7 +42,7 @@ def test_special_domain_name():
|
||||
c.d = '1toto.com'
|
||||
c.d = '123toto.com'
|
||||
c.e = 'toto'
|
||||
raises(ValueError, "c.e = '1toto'")
|
||||
c.e = '1toto'
|
||||
|
||||
|
||||
def test_domainname_netbios():
|
||||
|
Reference in New Issue
Block a user