Some checks failed
Use-case regression gate / usecase-regressions (push) Failing after 6m36s
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a18e2d-f513-7742-b8e7-12af0b744ff3
15 lines
540 B
Python
15 lines
540 B
Python
"""Run synthetic source-capture guards in the same Node runtime as the exporter."""
|
|
import subprocess
|
|
from pathlib import Path
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.mark.parametrize('suite', ['bubble-corpus-utils', 'bubble-resource-utils'])
|
|
def test_bubble_capture_guards(suite):
|
|
root = Path(__file__).resolve().parents[1]
|
|
result = subprocess.run(
|
|
['node', '--test', f'scripts/tests/{suite}.test.mjs'],
|
|
cwd=root, capture_output=True, text=True, check=False,
|
|
)
|
|
assert result.returncode == 0, result.stdout + result.stderr
|