File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
from codeflash .code_utils .compat import LF
4
4
from codeflash .either import CodeflashError
5
5
6
+ _BEHAVIORAL_TEST_FAILURE_ERROR = CodeflashError (
7
+ "BEHAVIORAL_TEST_FAILURE_ERROR" , "Failed to establish a baseline for the original code - bevhavioral tests failed."
8
+ )
9
+
6
10
7
11
def shell_rc_permission_error (shell_rc_path : str , api_key_line : str ) -> CodeflashError :
8
12
return CodeflashError (
@@ -74,7 +78,4 @@ def test_confidence_threshold_not_met_error() -> CodeflashError:
74
78
75
79
76
80
def behavioral_test_failure_error () -> CodeflashError :
77
- return CodeflashError (
78
- "BEHAVIORAL_TEST_FAILURE_ERROR" ,
79
- "Failed to establish a baseline for the original code - behavioral tests failed." ,
80
- )
81
+ return _BEHAVIORAL_TEST_FAILURE_ERROR
You can’t perform that action at this time.
0 commit comments