Ledger follow-ups from the shape audit (milestone 294: #2868–#2874) #122
@@ -536,7 +536,8 @@ async def test_derive_groups_land_on_rows_and_in_the_summary(seeded):
|
||||
order = [g["group"] for g in summary["derive_groups"]]
|
||||
assert order[0].startswith("dup:") and order[1] == "name:css:card"
|
||||
assert summary["derive_groups"][0]["files"] == 2
|
||||
assert summary["derive_groups"][0]["label"] == ".card"
|
||||
assert summary["derive_groups"][0]["label"] == "slug (identical body)"
|
||||
assert summary["derive_groups"][1]["label"] == ".card"
|
||||
assert summary["derive_groups"][0]["size"] == 3
|
||||
|
||||
# One of the css copies gets judged → the group shrinks on the next pass.
|
||||
|
||||
@@ -552,6 +552,7 @@ def test_scoped_definitions_are_vue_script_setup_and_scoped_style_only():
|
||||
async def test_binding_ref_is_the_branch_the_ledger_follows(seeded):
|
||||
"""#2873: a binding that names a ref is read at that ref (not the forge's
|
||||
default branch); "" clears it; None on a re-bind leaves it standing."""
|
||||
from scribe.services.coverage import compute_coverage
|
||||
from scribe.services.repo_bindings import bindings_for_project, set_binding
|
||||
uid, pid = seeded["uid"], seeded["pid"]
|
||||
b = await set_binding(uid, "https://git.example.com/alice/widget.git", pid, "dev")
|
||||
|
||||
Reference in New Issue
Block a user