Answer architecture round 3: 0 🔴, 1 🟡; skip the failed-write test as root, as the other read-only tests do

This commit is contained in:
2026-10-15 00:50:59 +02:00
parent 178fef961f
commit ad3f1d3cad
+1
View File
@@ -435,6 +435,7 @@ class RoutingCheck(unittest.TestCase):
stop, _ = self.check(FakeEffects(on_terminal_claude=[OSError(2, "No such file or directory")], git=[ran()]))
self.assertEqual(stop, Stop(1, "could not start claude for the routing calls: No such file or directory"))
@unittest.skipIf(os.geteuid() == 0, "root writes into a read-only directory")
def test_says_a_figure_it_cannot_write_and_goes_on(self):
self.chunks(5, 4)
(self.root / "routing-figures.lock").touch()