File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
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
+ _TEST_CONFIDENCE_ERROR = CodeflashError (
7
+ "TEST_CONFIDENCE_THRESHOLD_NOT_MET_ERROR" , "The threshold for test confidence was not met."
8
+ )
9
+
6
10
_BEHAVIORAL_TEST_FAILURE_ERROR = CodeflashError (
7
11
"BEHAVIORAL_TEST_FAILURE_ERROR" , "Failed to establish a baseline for the original code - bevhavioral tests failed."
8
12
)
@@ -74,7 +78,7 @@ def coverage_threshold_not_met_error() -> CodeflashError:
74
78
75
79
76
80
def test_confidence_threshold_not_met_error () -> CodeflashError :
77
- return CodeflashError ( "TEST_CONFIDENCE_THRESHOLD_NOT_MET_ERROR" , "The threshold for test confidence was not met." )
81
+ return _TEST_CONFIDENCE_ERROR
78
82
79
83
80
84
def behavioral_test_failure_error () -> CodeflashError :
You can’t perform that action at this time.
0 commit comments