test: replace false-green checks with behavioral coverage (#6282)
* test: replace false-green checks with behavioral coverage * test: complete behavior-focused audit coverage
This commit is contained in:
1 parent
c7ab7aa6da
commit
74942bd190
91 files changed
+1891
-1391
No files matched your search
@@ -1,7 +1,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import tomllib
|
||||
from pathlib import Path
|
||||
|
||||
from nanobot.webui.build import (
|
||||
@@ -88,13 +87,6 @@ def test_shared_notifications_make_existing_bundle_stale(tmp_path: Path) -> None
|
||||
assert status.newest_source == shared
|
||||
|
||||
|
||||
def test_channel_owned_ui_sources_are_included_in_distributions() -> None:
|
||||
project_root = Path(__file__).resolve().parents[2]
|
||||
pyproject = tomllib.loads((project_root / "pyproject.toml").read_text(encoding="utf-8"))
|
||||
|
||||
assert "nanobot/channels/*/webui/**/*" in pyproject["tool"]["hatch"]["build"]["include"]
|
||||
|
||||
|
||||
def test_inspect_webui_bundle_accepts_fresh_dist(tmp_path: Path) -> None:
|
||||
source = tmp_path / "webui"
|
||||
dist = tmp_path / "nanobot" / "web" / "dist"
|
||||
|
||||
Reference in new issue
Block a user