def _get_facade(config_text): return lib.ConfigFacade(Parser.parse(config_text.encode("utf-8")))
def assert_value(self, value, config): facade = lib.ConfigFacade(Parser.parse(config.encode("utf-8"))) self.assertEqual(value, self.getter(facade)) self.assertFalse(facade.need_stopped_cluster) self.assertFalse(facade.need_qdevice_reload)