

def test_queryset_render(self):
    'Test get_perm_key function.'
    table = Table(Foo.objects.all(), ['id', 'bar'])
    result = [['ID', 'bar'], [{
        'value': self.foo_1.id,
        'html_attributes': '',
    }, {
        'value': 'Test1',
        'html_attributes': '',
    }]]
    self.assertListEqual(result.get_table_content(), result)

dataset/ETHPy150Open allegro/ralph/src/ralph/lib/table/tests.py TableRenderTestCase.test_queryset_render/VarMisuse@79/119 `table`->`result`