class WidgetTestCase(unittest.TestCase, metaclass=ScenarioMeta):
    pass


class widget_width(ScenerioTest):
    scenarios = [dict(widget_in=Widget('One Way'), expected_tuple=(50, 50)),
        dict(widget_in=Widget('Another Way'), expected_tuple=(100, 150))]

def __test__(self, widget_in, expected_tuple):
    self.assertEqual(widget_in.size, expected_tuple)
Передача параметров в TestCase из Suite в python