Files
shelfmark/tests/config/test_search_mode_settings.py
T
Alex 3d72f9e258 Various requested small features (#741)
- 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
2026-03-12 17:36:07 +00:00

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