def METHOD_NAME(self):
    self.check_filter(TrackerFilter,
                      filter_names=('status', 'st'),
                      items=({'id': 1, 'status': 'stopped'},
                             {'id': 2, 'status': 'idle'},
                             {'id': 3, 'status': 'queued'},
                             {'id': 4, 'status': 'announcing'},
                             {'id': 5, 'status': 'scraping'}),
                      test_cases=(('{name}', (1, 2, 3, 4, 5)),
                                  ('!{name}', ()),
                                  ('{name}=queued', (3,))))
    with self.assertRaises(ValueError) as cm:
        TrackerFilter('status=foo')
    self.assertEqual(str(cm.exception), "Invalid value for filter 'status': 'foo'")