<s> import sqlalchemy as sa <EOL> from tests import ModelFormTestCase <EOL> class TestModelFormMetaWithInheritance ( ModelFormTestCase ) : <EOL> def test_skip_unknown_types ( self , model_form_all ) : <EOL> self . init ( type_ = sa . Integer ) <EOL> class ModelTestForm ( model_form_all ) : <EOL> class Meta : <EOL> skip_unknown_types = True <EOL> class ModelTestForm2 ( ModelTestForm ) : <EOL> class Meta : <EOL> model = self . ModelTest <EOL> self . form_class = ModelTestForm2 <EOL> assert self . form_class . Meta . skip_unknown_types is True <EOL> def test_inheritance_attributes ( self , model_form_custom ) : <EOL> self . init ( type_ = sa . Integer ) <EOL> class ModelTestForm ( model_form_custom ) : <EOL> class Meta : <EOL> model = self . ModelTest <EOL> assert ModelTestForm . test_attr == '<STR_LIT>' <EOL> class TestUnboundFieldsInitialization ( ModelFormTestCase ) : <EOL> def test_skip_unknown_types ( self , model_form_all ) : <EOL> self . init ( type_ = sa . Integer ) <EOL> class ModelTestForm ( model_form_all ) : <EOL> class Meta : <EOL> model = self . ModelTest <EOL> skip_unknown_types = True <EOL> assert ModelTestForm . test_column </s>
