Commit ·
8afffc0
1
Parent(s): fddbaca
build debugged for backend tests
Browse files
backend/tests/test_fit_gates.py
CHANGED
|
@@ -12,7 +12,6 @@ narrowed.
|
|
| 12 |
"""
|
| 13 |
from __future__ import annotations
|
| 14 |
|
| 15 |
-
import re
|
| 16 |
|
| 17 |
import pytest
|
| 18 |
|
|
|
|
| 12 |
"""
|
| 13 |
from __future__ import annotations
|
| 14 |
|
|
|
|
| 15 |
|
| 16 |
import pytest
|
| 17 |
|
backend/tests/test_layout_content_routing.py
CHANGED
|
@@ -22,10 +22,8 @@ up on, its content type is one that layout can actually render.
|
|
| 22 |
"""
|
| 23 |
from __future__ import annotations
|
| 24 |
|
| 25 |
-
import pytest
|
| 26 |
|
| 27 |
from app.services.content_classifier import (
|
| 28 |
-
_layout_hosts,
|
| 29 |
_layout_hosts_kinds,
|
| 30 |
match_scenes_to_archetypes,
|
| 31 |
reconcile_layouts_and_content,
|
|
|
|
| 22 |
"""
|
| 23 |
from __future__ import annotations
|
| 24 |
|
|
|
|
| 25 |
|
| 26 |
from app.services.content_classifier import (
|
|
|
|
| 27 |
_layout_hosts_kinds,
|
| 28 |
match_scenes_to_archetypes,
|
| 29 |
reconcile_layouts_and_content,
|
backend/tests/test_scene_retry_reliability.py
CHANGED
|
@@ -14,7 +14,6 @@ message, taking ~200s. Three causes, all pinned here:
|
|
| 14 |
"""
|
| 15 |
from __future__ import annotations
|
| 16 |
|
| 17 |
-
import re
|
| 18 |
|
| 19 |
import pytest
|
| 20 |
|
|
|
|
| 14 |
"""
|
| 15 |
from __future__ import annotations
|
| 16 |
|
|
|
|
| 17 |
|
| 18 |
import pytest
|
| 19 |
|
backend/tests/test_staged_codegen.py
CHANGED
|
@@ -545,7 +545,6 @@ def test_regeneration_failure_clears_is_regenerating() -> None:
|
|
| 545 |
def test_orphan_sweep_also_frees_templates_with_no_run_row() -> None:
|
| 546 |
"""A run row is not guaranteed — _run_create returns None on a DB blip, and
|
| 547 |
templates predating staging never had one. Without this they stay stuck."""
|
| 548 |
-
import ast
|
| 549 |
import inspect
|
| 550 |
import textwrap
|
| 551 |
|
|
|
|
| 545 |
def test_orphan_sweep_also_frees_templates_with_no_run_row() -> None:
|
| 546 |
"""A run row is not guaranteed — _run_create returns None on a DB blip, and
|
| 547 |
templates predating staging never had one. Without this they stay stuck."""
|
|
|
|
| 548 |
import inspect
|
| 549 |
import textwrap
|
| 550 |
|