'Tests everything that happens when the table is instantiated.'

def test_table_instantiation(self):

    self.table = MyTable(self.request, TEST_DATA)
    self.assertEqual(TEST_DATA, self.table.data)
    self.assertEqual('my_table', self.table.name)
    self.assertTrue(self.table._meta.actions_column)
    self.assertTrue(self.table._meta.multi_select)
    self.assertEqual(u'My    Table', six.text_type(self.table))
    self.assertQuerysetEqual(self.table.columns.values(), ['<MyColumn:    multi_select>', '<Column:    id>', '<Column:    name>', '<Column:    value>', '<Column:    optional>', '<Column:    status>', '<MyColumn:    actions>'])
    self.assertQuerysetEqual(self.table.base_actions.values(), ['<MyBatchAction:    batch>', '<MyBatchActionWithHelpText:    batch_help>', '<MyAction:    delete>', '<MyFilterAction:    filter>', '<MyLinkAction:    login>', '<MyToggleAction:    toggle>'])
    self.assertQuerysetEqual(self.table.get_table_actions(), ['<MyFilterAction:    filter>', '<MyAction:    delete>', '<MyBatchAction:    batch>', '<MyBatchActionWithHelpText:    batch_help>'])
    self.assertQuerysetEqual(self.table.get_row_actions(TEST_DATA[0]), ['<MyAction:    delete>', '<MyLinkAction:    login>', '<MyBatchAction:    batch>', '<MyToggleAction:    toggle>', '<MyBatchActionWithHelpText:    batch_help>'])
    multi_select = self.table.columns['multi_select']
    self.assertEqual('multi_select', multi_select.auto)
    self.assertEqual('multi_select_column', multi_select.get_final_attrs().get('class', ''))
    actions = self.table.columns['actions']
    self.assertEqual('actions', actions.auto)
    self.assertEqual('actions_column', actions.get_final_attrs().get('class', ''))
    name_column = self.table.columns['name']
    self.assertEqual(MyUpdateAction, name_column.update_action)
    self.assertEqual(forms.CharField, name_column.form_field.__class__)
    self.assertEqual({'class': 'test'}, name_column.form_field_attributes)
