def test_call_pre_config_no_return(self): def pre_config(): pass self.assertEqual( call_pre_config(pre_config, "output_path", "simulator_output_path"), False)
def test_call_pre_config_true(self): def pre_config(): return True self.assertEqual( call_pre_config(pre_config, "output_path", "simulator_output_path"), True)
def test_call_pre_config_no_return(self): def pre_config(): pass self.assertEqual(call_pre_config(pre_config, "output_path"), False)
def test_call_pre_config_true(self): def pre_config(): return True self.assertEqual(call_pre_config(pre_config, "output_path"), True)
def test_call_pre_config_false(self): def pre_config(): return False self.assertEqual(call_pre_config(pre_config, "output_path"), False)
def test_call_pre_config_none(self): self.assertEqual(call_pre_config(None, "output_path"), True)
def test_call_pre_config_none(self): self.assertEqual(call_pre_config(None, "output_path", "simulator_output_path"), True)