class DataTestCase(unittest.TestCase):

    def __init__(self, number):
        unittest.TestCase.__init__(self, methodName='testOneNumber')
self.number = number

def testOneNumber(self):
    self.assertEqual(self.number, 33)

def shortDescription(self):
    pass
How to test same assertion for large amount of data