@http
    def test_metrics(self):
        metrics_dict = self.provider.metrics([("pmid", "222")])
        expected = {'pmc:unique_ip_views': (514, ''), 'pmc:pdf_downloads': (230, ''), 'pmc:fulltext_views': (606, ''), 'pmc:figure_views': (9, '')}
        print metrics_dict
        for key in expected:
            assert metrics_dict[key][0] >= expected[key][0], [key, metrics_dict[key], expected[key]]
            assert metrics_dict[key][1] == expected[key][1], [key, metrics_dict[key], expected[key]]
dataset/ETHPy150Open Impactstory/total-impact-core/test/unit_tests/providers/test_pmc.py/TestPmc.test_metrics/original