'Test change_update_frequency'

def test_change_update_freq(self):

    sickbeard.versionCheckScheduler = scheduler.Scheduler((lambda : None))
    config.change_update_frequency(0)
    self.assertEqual(sickbeard.UPDATE_FREQUENCY, sickbeard.MIN_UPDATE_FREQUENCY)
    config.change_update_frequency('s')
    self.assertEqual(sickbeard.UPDATE_FREQUENCY, sickbeard.DEFAULT_UPDATE_FREQUENCY)
    config.change_update_frequency(60)
    self.assertEqual(sickbeard.UPDATE_FREQUENCY, 60)
