diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-26 14:05:40 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-26 14:05:40 -0500 |
| commit | 3bc6316000019560e46f12ed487b90f8ce54e962 (patch) | |
| tree | d7626b1caa7b2fa2cc4f31d6e669ee6f498f1365 /pocketbook/tests/conftest.py | |
| parent | 17127fea658ddb1d5d6cbd355bfb5894885e7b86 (diff) | |
| download | archsetup-3bc6316000019560e46f12ed487b90f8ce54e962.tar.gz archsetup-3bc6316000019560e46f12ed487b90f8ce54e962.zip | |
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.
Diffstat (limited to 'pocketbook/tests/conftest.py')
| -rw-r--r-- | pocketbook/tests/conftest.py | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
