

def test_step_invalid_connection_handler_not_string_or_callable(self):

    class InvalidStepA(TestStepTwo):
        connections = {
            'project_id': (None,),
        }

    class InvalidStepB(TestStepTwo):
        connections = {
            'project_id': (0,),
        }
    with self.assertRaises(TypeError):
        InvalidStepA(TestWorkflow(connections.request))
    with self.assertRaises(TypeError):
        InvalidStepB(TestWorkflow(self.request))

dataset/ETHPy150Open CiscoSystems/avos/horizon/test/tests/workflows.py WorkflowsTests.test_step_invalid_connection_handler_not_string_or_callable/VarMisuse@72/108 `self`->`connections`