From 70e89e946cbdff307284d11a46558161f713607c Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 26 May 2026 14:05:40 -0500 Subject: refactor: fold pocketbook in-tree and drop its install steps Pocketbook is nowhere near ready, so I pulled it back from publication: deleted the github mirror and the cjennings.net repo, removed the server mirror hook, and copied the package into pocketbook/ here until it's ready to spin back out. Dropped the steps that provisioned it on a fresh install: the gtk4-layer-shell dep and the pip install in archsetup, and the clone in post-install.sh. That clone pointed at the now-deleted github repo, so it would have failed a fresh run regardless. Re-wiring the install is tracked in the pocketbook backlog. --- pocketbook/tests/conftest.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pocketbook/tests/conftest.py (limited to 'pocketbook/tests/conftest.py') diff --git a/pocketbook/tests/conftest.py b/pocketbook/tests/conftest.py new file mode 100644 index 0000000..db04f88 --- /dev/null +++ b/pocketbook/tests/conftest.py @@ -0,0 +1,17 @@ +import pytest + + +@pytest.fixture +def notes_dir(tmp_path): + """Temporary directory for note storage.""" + d = tmp_path / "quicknotes" + d.mkdir() + return d + + +@pytest.fixture +def sample_note_file(notes_dir): + """A sample note file on disk.""" + path = notes_dir / "0001-20260101-120000-abc12.txt" + path.write_text("Shopping List\n\nMilk\nEggs\nBread\n") + return path -- cgit v1.2.3