Allow empty schedule_days; add success flag to rescan endpoint
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -68,8 +68,8 @@ class TestSchedulerConfigValidScheduleDays:
|
||||
assert config.schedule_days == ALL_DAYS
|
||||
|
||||
def test_empty_list(self) -> None:
|
||||
with pytest.raises(ValidationError):
|
||||
SchedulerConfig(schedule_days=[])
|
||||
config = SchedulerConfig(schedule_days=[])
|
||||
assert config.schedule_days == []
|
||||
|
||||
|
||||
class TestSchedulerConfigInvalidScheduleDays:
|
||||
|
||||
Reference in New Issue
Block a user