def METHOD_NAME(self):
    # invalid filter
    results = self.file.query().filter(hgnc_id='foo')
    self.assertEqual(len(results), 0)
    self.assertEqual(results[:]._buffer, [])
    self.assertRaises(IndexError, lambda: results[0])