I have some kind of test data and want to create a unit test for each item. My first idea was to do it like this:
import unittest l = [[\"foo\", \"a\", \"a\
There's also Hypothesis which adds fuzz or property based testing: https://pypi.python.org/pypi/hypothesis
This is a very powerful testing method.