def CheckNone(self):
        self.cur.execute('create table test(a str)')
        self.cur.execute('insert into test(a) values (NULL)')
        self.cur.execute('insert into test(a) values ("")')
        self.cur.execute('select * from test')
        r = self.cur.fetchone()
        self.assertEqual(r[0], None,
                         "Value is is %s, it should be None."  %r[0])
        r = self.cur.fetchone()
        self.assertEqual(r[0], "",
                         'Value is is %s, it should be "".'  %r[0])
Combines a form mixin with a form class, sets attrs to the resulting class.
dataset/ETHPy150Open sassoftware/conary/conary/pysqlite3/test/api_tests.py/moduleTestCases.CheckNone--crossover with--dataset/ETHPy150Open divio/django-cms/cms/wizards/forms.py/step2_form_factory