diff --git a/now-notes/2026-11-26-floor-print-test-v5.md b/now-notes/2026-11-26-floor-print-test-v5.md new file mode 100644 index 000000000..9460759d9 --- /dev/null +++ b/now-notes/2026-11-26-floor-print-test-v5.md @@ -0,0 +1,3 @@ +Status: tests/floor_groups_print_test.py passes again on main: its synthetic group was keyed house_brand, which the 25 Nov v5 ruling (config/floor-rulings.json v5_groups) now rewords, so the test printed the ruling's words instead of its own; the group is now corner_mark, which no ruling touches. +Next: Let the standards check-in pull request #994 rerun its CI on main with this fix and merge itself. +North Star check (2026-11-26): holds. diff --git a/tests/floor_groups_print_test.py b/tests/floor_groups_print_test.py index 113ff34c8..7293e6eb2 100644 --- a/tests/floor_groups_print_test.py +++ b/tests/floor_groups_print_test.py @@ -31,7 +31,7 @@ 'records': {}, } GROUPS = [ - {'key': 'house_brand', 'title': 'The house brand', 'standing': 'reworded', + {'key': 'corner_mark', 'title': 'The corner mark', 'standing': 'reworded', 'statement': 'On a carousel the wordmark sits small in the bottom-right corner.', 'decided_on': '2026-11-15', 'members': ['s1', 's2']}, {'key': 'words_add', 'title': 'Words add', 'standing': 'approved', @@ -54,7 +54,7 @@ def test_a_makers_floor_prints_its_groups_words_above_their_members(self): doc = dict(DOC, groups=GROUPS) code, out = run(doc, '--format', 'carousel') self.assertEqual(code, 0) - self.assertIn('The house brand [house_brand; reworded by him, 2026-11-15]', out) + self.assertIn('The corner mark [corner_mark; reworded by him, 2026-11-15]', out) self.assertIn('bottom-right corner', out) self.assertIn('Members here: s1, s2', out) self.assertNotIn('Words add', out) # touches no carousel standard @@ -69,7 +69,7 @@ def test_an_older_file_without_groups_prints_as_before(self): def test_check_refuses_a_group_with_an_unknown_member_or_no_words(self): bad = dict(DOC, groups=[dict(GROUPS[0], members=['s9']), {'key': 'x', 'standing': 'approved'}]) problems = floor.check(bad) - self.assertIn('group house_brand: member s9 is not in standards', problems) + self.assertIn('group corner_mark: member s9 is not in standards', problems) self.assertTrue(any("group 'x' needs a key" in p for p in problems)) self.assertEqual(floor.check(dict(DOC, groups=GROUPS)), [])