def test_metric_tags(self):
        with patch.object(KairosDBRestClient, '_make_request') as mock_method:
            client = KairosDBRestClient()
            client.metric_tags(100, 200,
                               [MetricTag('metric.1', host=['azure'])])

        mock_method.assert_called_once_with(
            QueryMetricTagsRequest(100, 200,
                                   [MetricTag('metric.1', host=['azure'])]))
    def test_metric_tags(self):
        with patch.object(KairosDBRestClient, '_make_request') as mock_method:
            client = KairosDBRestClient()
            client.metric_tags(100, 200, [MetricTag('metric.1', host=['azure'])])

        mock_method.assert_called_once_with(QueryMetricTagsRequest(100, 200, [MetricTag('metric.1', host=['azure'])]))