mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-10-05 09:21:11 +01:00
Rename Booklore to Grimmory (#791)
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user