Keep configs in ~/.config/build-release/ and tool state in ~/.local/state/build-release/, under XDG_* where set
CI / tests (pull_request) Successful in 6m34s

This commit is contained in:
2026-12-03 18:56:28 +01:00
parent 20c83f861f
commit 1ca2c8efe0
142 changed files with 1095 additions and 933 deletions
+2 -2
View File
@@ -24,12 +24,12 @@ class Main(unittest.TestCase):
def configured(self, checkout: str) -> pathlib.Path:
folder = configured(self, pathlib.Path(checkout))
self.home = folder.parents[1]
self.home = folder.parents[2]
return folder
def run_main(self, *argv):
with contextlib.redirect_stdout(io.StringIO()), contextlib.redirect_stderr(io.StringIO()) as said:
code = rank_todo.main(list(argv), self.home)
code = rank_todo.main(list(argv), self.home, {})
return code, said.getvalue()
def test_ranks_the_file_in_place_and_check_writes_nothing(self):