Rename Booklore to Grimmory (#791)

This commit is contained in:
Alex
2026-03-21 15:38:38 +00:00
committed by GitHub
parent 8f949a73d5
commit 698eb07e71
7 changed files with 66 additions and 48 deletions
+2 -2
View File
@@ -675,7 +675,7 @@ def test_booklore_mode_uploads_and_cleans_staging(tmp_path):
assert uploaded_files
assert not temp_file.exists()
assert list(staging.iterdir()) == []
assert any("Booklore" in (message or "") for _, message in statuses)
assert any("Grimmory" in (message or "") for _, message in statuses)
def test_booklore_mode_rejects_unsupported_files(tmp_path):
@@ -723,7 +723,7 @@ def test_booklore_mode_rejects_unsupported_files(tmp_path):
errors = [call for call in status_cb.call_args_list if call.args[0] == "error"]
assert errors
assert "Booklore does not support" in errors[-1].args[1]
assert "Grimmory does not support" in errors[-1].args[1]
@pytest.mark.parametrize("organization", ["none", "rename", "organize"])