'Test change_daily_search_frequency'

def test_change_daily_search_freq(self):

    sickbeard.dailySearchScheduler = scheduler.Scheduler((lambda : None))
    config.change_daily_search_frequency(0)
    self.assertEqual(sickbeard.DAILYSEARCH_FREQUENCY, sickbeard.MIN_DAILYSEARCH_FREQUENCY)
    config.change_daily_search_frequency('s')
    self.assertEqual(sickbeard.DAILYSEARCH_FREQUENCY, sickbeard.DEFAULT_DAILYSEARCH_FREQUENCY)
    config.change_daily_search_frequency(60)
    self.assertEqual(sickbeard.DAILYSEARCH_FREQUENCY, 60)
