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
@@ -50,8 +50,8 @@ class SlotShare(unittest.TestCase):
class SlotFolder(unittest.TestCase):
def test_every_session_shares_the_slots_under_the_users_state_folder(self):
self.assertEqual(slots.slot_folder({}, pathlib.Path.home()), pathlib.Path.home() / ".local" / "state" / "run-heavy")
self.assertEqual(slots.slot_folder({"XDG_STATE_HOME": "/s"}, pathlib.Path.home()), pathlib.Path("/s/run-heavy"))
self.assertEqual(slots.slot_folder({}, pathlib.Path.home()), pathlib.Path.home() / ".local" / "state" / "build-release" / "run-heavy")
self.assertEqual(slots.slot_folder({"XDG_STATE_HOME": "/s"}, pathlib.Path.home()), pathlib.Path("/s/build-release/run-heavy"))
class TakenSlot(unittest.TestCase):