def test_column_named_items():
 class ItemsTable(tables.Table, ):
  items = tables.Column()
 table = ItemsTable([{u'items': 123}, {u'items': 2345}])
 html = table.as_html(request)
 assert (u'123' in html)
 assert (u'2345' in html)

def test_column_named_items ( ) : class ItemsTable ( tables . Table , ) : items = tables . Column ( ) table = ItemsTable ( [ { u'items' : 123 } , { u'items' : 2345 } ] ) html = table . as_html ( request ) assert ( u'123' in html ) assert ( u'2345' in html )
a column named items must not make the table fail URL .