Skip to content

Commit b82eb01

Browse files
committed
fix
1 parent ba8bd3c commit b82eb01

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/e2e/features/environment.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,6 @@ def after_scenario(context: Context, scenario: Scenario) -> None:
176176
switch_config(context.feature_config)
177177
restart_container("lightspeed-stack")
178178

179-
# Clear auth headers to prevent leakage between scenarios
180-
# Context attributes persist across scenarios unless explicitly cleared
181-
if hasattr(context, "auth_headers"):
182-
del context.auth_headers
183-
if hasattr(context, "expect_tool_errors"):
184-
del context.expect_tool_errors
185-
186179
# Restore Llama Stack connection if it was disrupted (only in server mode)
187180
if (
188181
not context.is_library_mode

0 commit comments

Comments
 (0)