def test_invalid_metric(self): run_report = RunReport() run_report.parse_request([{ 'name': 'Edits - test', 'cohort': { 'id': self.test_cohort_id, }, 'metric': { 'name': 'NamespaceEdits', 'namespaces': 'blah blah', }, }])