'Create a FormsetDataTable and populate it with data.'

def test_populate(self):

    class TableForm(forms.Form, ):
        name = forms.CharField()
        value = forms.IntegerField()
    TableFormset = forms.formsets.formset_factory(TableForm, extra=0)
    class Table(table_formset.FormsetDataTable, ):
        formset_class = TableFormset
        name = tables.Column('name')
        value = tables.Column('value')
        class Meta(object, ):
            name = 'table'
    table = Table(self.request)
    table.data = TEST_DATA_4
    formset = table.get_formset()
    self.assertEqual(2, len(formset))
    form = formset[0]
    form_data = form.initial
    self.assertEqual('object_1', form_data['name'])
    self.assertEqual(2, form_data['value'])
