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:
@@ -435,6 +435,7 @@ class RoutingCheck(unittest.TestCase):
|
|||||||
stop, _ = self.check(FakeEffects(on_terminal_claude=[OSError(2, "No such file or directory")], git=[ran()]))
|
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"))
|
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):
|
def test_says_a_figure_it_cannot_write_and_goes_on(self):
|
||||||
self.chunks(5, 4)
|
self.chunks(5, 4)
|
||||||
(self.root / "routing-figures.lock").touch()
|
(self.root / "routing-figures.lock").touch()
|
||||||
|
|||||||
Reference in New Issue
Block a user