mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-25 00:02:32 +00:00
- Added torrent removal option - Pass Prowlarr seedtimes to download clients (excluding rTorrent) - Split default release source option by content type - Split download to browser option by content type - Add "hide links" option
19 lines
485 B
Python
19 lines
485 B
Python
"""Tests for search mode settings definitions."""
|
|
|
|
from shelfmark.config.settings import search_mode_settings
|
|
|
|
|
|
def test_search_mode_settings_include_release_source_links_toggle():
|
|
fields = {
|
|
field.key: field
|
|
for field in search_mode_settings()
|
|
if hasattr(field, "key")
|
|
}
|
|
|
|
field = fields["SHOW_RELEASE_SOURCE_LINKS"]
|
|
|
|
assert field.label == "Show Release Source Links"
|
|
assert field.default is True
|
|
assert field.user_overridable is False
|
|
|