Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
+13
View File
@@ -0,0 +1,13 @@
from tests.helpers.cli_loader import load_script
def test_is_runnable_subcommand_requires_executable_file(tmp_path):
cli = load_script("odysseus")
sub = tmp_path / "odysseus-demo"
sub.write_text("#!/bin/sh\n")
sub.chmod(0o644)
assert cli._is_runnable_subcommand(sub) is False
sub.chmod(0o755)
assert cli._is_runnable_subcommand(sub) is True