'Test change_backlog_frequency'

def test_change_backlog_freq(self):

    sickbeard.backlogSearchScheduler = scheduler.Scheduler((lambda : None))
    sickbeard.DAILYSEARCH_FREQUENCY = sickbeard.DEFAULT_DAILYSEARCH_FREQUENCY
    config.change_backlog_frequency(0)
    self.assertEqual(sickbeard.BACKLOG_FREQUENCY, sickbeard.MIN_BACKLOG_FREQUENCY)
    config.change_backlog_frequency('s')
    self.assertEqual(sickbeard.BACKLOG_FREQUENCY, sickbeard.MIN_BACKLOG_FREQUENCY)
    config.change_backlog_frequency(1440)
    self.assertEqual(sickbeard.BACKLOG_FREQUENCY, 1440)
