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:
chengyongru authored and GitHub committed 2026-10-18 03:16:25 +08:00
1 parent c7ab7aa6da
commit 74942bd190
91 files changed
+1891 -1391

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ class TestEditIpynbFiles:
new_text='"cells": [{"cell_type": "markdown", "source": "hi"}]',
)
assert "Patch applied:" in result
assert '"source": "hi"' in f.read_text(encoding="utf-8")
assert f.read_text(encoding="utf-8") == '{"cells": [{"cell_type": "markdown", "source": "hi"}]}'
# ---------------------------------------------------------------------------