def test_disable(self): conf = Conf('primtux') lines = startup.split('\n') lines = [line + '\n' for line in lines] r = conf.load(lines[:-1]) soft = conf.get_soft('rox -p 1') conf.disable(soft) soft = conf.get_soft('lxpanel') conf.disable(soft) assert str(conf) == after_disable