'submitting metrics that contain labels should result in tags on the gauge call'

def test_submit_metric_gauge_with_labels(self):

    _l1 = self.ref_gauge.metric[0].label.add()
    _l1.name = 'my_1st_label'
    _l1.value = 'my_1st_label_value'
    _l2 = self.ref_gauge.metric[0].label.add()
    _l2.name = 'my_2nd_label'
    _l2.value = 'my_2nd_label_value'
    self.check._submit_metric(self.check.metrics_mapper[self.ref_gauge.name], self.ref_gauge)
    self.check.gauge.assert_called_with('prometheus.process.vm.bytes', 39211008.0, ['my_1st_label:my_1st_label_value', 'my_2nd_label:my_2nd_label_value'])
