def METHOD_NAME(self):
    class SimpleTable(tables.Table):
        name = tables.Column()
        occupation = tables.Column()
        age = tables.Column()
    record = {"name": "Bradley", "age": 20, "occupation": "programmer"}
    table = SimpleTable([record])
    row = table.rows[0]
    # integer indexing into a row
    self.assertEqual(row.get_cell(0), record["name"])
    self.assertEqual(row.get_cell(1), record["occupation"])
    self.assertEqual(row.get_cell(2), record["age"])
    with self.assertRaises(IndexError):
        row.get_cell(3)
    # column name indexing into a row
    self.assertEqual(row.get_cell("name"), record["name"])
    self.assertEqual(row.get_cell("occupation"), record["occupation"])
    self.assertEqual(row.get_cell("age"), record["age"])
    with self.assertRaises(KeyError):
        row.get_cell("gamma")
    # row should support contains check
    self.assertIn("name", row)
    self.assertIn("occupation", row)
    self.assertNotIn("gamma", row)