def test_group_desc_spec_pb_to_loxi_conversion(self): _, group_stats = self.gen_pb_flow_stats() for group_stat in group_stats: loxi_group_desc = to_loxi(group_stat.desc)
def test_flow_spec_pb_to_loxi_conversion(self): flow_stats, _ = self.gen_pb_flow_stats() for flow_stat in flow_stats: loxi_flow_stats = to_loxi(flow_stat)