def test_report_metric(db_report):
    for metric in db_report.metric:
        assert (metric in METRICS[db_report.report_type])
def test_report_metric(db_report):
    for metric in db_report.metric:
        assert (metric in METRICS[db_report.report_type])