From d96bd41254b0d2be4f15eb61ed0e9e55a2f7db9d Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Tue, 24 Sep 2024 13:57:37 +0300 Subject: [PATCH] chore(tests): remove duplicated unit test (#1990) Signed-off-by: Emmanuel Ferdman --- tests/test_iohandler.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/test_iohandler.py b/tests/test_iohandler.py index 2d9a4b3fc..9af16263c 100644 --- a/tests/test_iohandler.py +++ b/tests/test_iohandler.py @@ -605,15 +605,6 @@ def test_no_function_calls(context_manager): assert len(functions) == 0, "Should find no functions" -def test_keep_in_string_not_as_function_call(context_manager): - iohandler = IOHandler(context_manager) - template = "Here is a sentence with keep. not as a function call: 'Let's keep. moving forward.'" - functions = iohandler.extract_keep_functions(template) - assert ( - len(functions) == 0 - ), "Should find no functions when 'keep.' is part of a string." - - def test_malformed_function_calls(context_manager): iohandler = IOHandler(context_manager) template = "Here is a malformed function call keep.(without closing parenthesis."