Skip to content

Commit 875dc69

Browse files
committed
Update test_runner.py
1 parent 48121e9 commit 875dc69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

codeflash/verification/test_runner.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,18 @@ def run_behavioral_tests(
9090
env=pytest_test_env,
9191
timeout=600,
9292
)
93+
logger.info(auditing_res.stdout)
9394
if auditing_res.returncode != 0:
9495
line_co = next(
9596
(
9697
line
9798
for line in auditing_res.stderr.splitlines() + auditing_res.stdout.splitlines()
98-
if "codeflash.verification._auditwall.SideEffectDetectedError" in line
99+
if "auditwall.core.SideEffectDetected" in line
99100
),
100101
None,
101102
)
102103
if line_co:
103-
match = re.search(r"codeflash has detected: (.+).", line_co)
104+
match = re.search(r"auditwall.core.SideEffectDetected: A (.+).", line_co)
104105
if match:
105106
msg = match.group(1)
106107
raise SideEffectDetected(msg)

0 commit comments

Comments
 (0)