Skip to content

Commit 1140923

Browse files
committed
codeflash capture should not depend on anything inside codeflash
1 parent c080680 commit 1140923

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

codeflash/verification/codeflash_capture.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
from __future__ import annotations
22

3+
# This file should not have any dependencies on codeflash
34
import functools
45
import gc
56
import inspect
67
import os
78
import sqlite3
89
import time
910
from pathlib import Path
10-
11+
from enum import Enum
1112
import dill as pickle
1213

13-
from codeflash.models.models import VerificationType
14+
class VerificationType(str, Enum):
15+
FUNCTION_CALL = (
16+
"function_call" # Correctness verification for a test function, checks input values and output values)
17+
)
18+
INIT_STATE_FTO = "init_state_fto" # Correctness verification for fto class instance attributes after init
19+
INIT_STATE_HELPER = "init_state_helper" # Correctness verification for helper class instance attributes after init
1420

1521

1622
def get_test_info_from_stack(tests_root: str) -> tuple[str, str | None, str, str]:

0 commit comments

Comments
 (0)