Ejemplo n.º 1
0
 def test_enable(self):
     conf = Conf('primtux')
     lines = startup.split('\n')
     lines = [line + '\n' for line in lines]
     r = conf.load(lines[:-1])
     soft = conf.get_soft('/usr/local/bin/primtux/handymenu-mini')
     conf.enable(soft)
     assert str(conf) == after_enable