Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu

This commit is contained in:
Emmanuel Garette 2013-04-03 17:05:46 +02:00
commit ccac34b2db

View file

@ -48,8 +48,8 @@ def test_optname_shall_not_start_with_numbers():
raises(NameError, "gcdummy = BoolOption('123dummy', 'dummy', default=False)") raises(NameError, "gcdummy = BoolOption('123dummy', 'dummy', default=False)")
raises(NameError, "descr = OptionDescription('123tiramisu', '', [])") raises(NameError, "descr = OptionDescription('123tiramisu', '', [])")
def test_option_has_an_api_name(): #def test_option_has_an_api_name():
gcdummy = BoolOption('cfgimpl_get_settings', 'dummy', default=False) # gcdummy = BoolOption('cfgimpl_get_settings', 'dummy', default=False)
boolop = BoolOption('boolop', 'Test boolean option op', default=True) # boolop = BoolOption('boolop', 'Test boolean option op', default=True)
descr = OptionDescription('tiramisu', '', [gcdummy, boolop]) # descr = OptionDescription('tiramisu', '', [gcdummy, boolop])
raises(NameError, "cfg = Config(descr)") # raises(NameError, "cfg = Config(descr)")