Fix typo and copypasta

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2022-11-11 16:36:51 +01:00
parent 1d7cc08af1
commit 0cf42200fa

View file

@ -682,12 +682,12 @@ exit:
@patch("generate_test_code.gen_dependencies") @patch("generate_test_code.gen_dependencies")
@patch("generate_test_code.gen_function_wrapper") @patch("generate_test_code.gen_function_wrapper")
@patch("generate_test_code.parse_function_arguments") @patch("generate_test_code.parse_function_arguments")
def test_functio_name_on_newline(self, parse_function_arguments_mock, def test_function_name_on_newline(self, parse_function_arguments_mock,
gen_function_wrapper_mock, gen_function_wrapper_mock,
gen_dependencies_mock, gen_dependencies_mock,
gen_dispatch_mock): gen_dispatch_mock):
""" """
Test when exit label is present. Test with line break before the function name.
:return: :return:
""" """
parse_function_arguments_mock.return_value = ([], '', []) parse_function_arguments_mock.return_value = ([], '', [])