def _case(_, gen_params): gen_params = dict([(k, BaseNodeEngine._format_value(v)) for k, v in six.iteritems(gen_params) if v]) self.assertDictEqual(target_params, gen_params)
def _case(_, gen_params): gen_params = dict([(k, BaseNodeEngine._format_value(v)) for k, v in six.iteritems(gen_params) if v]) print(repr(gen_params))