'Test change_postprocessor_frequency'

def test_change_auto_pp_freq(self):

    sickbeard.autoPostProcessorScheduler = scheduler.Scheduler((lambda : None))
    config.change_postprocessor_frequency(0)
    self.assertEqual(sickbeard.AUTOPOSTPROCESSOR_FREQUENCY, sickbeard.MIN_AUTOPOSTPROCESSOR_FREQUENCY)
    config.change_postprocessor_frequency('s')
    self.assertEqual(sickbeard.AUTOPOSTPROCESSOR_FREQUENCY, sickbeard.DEFAULT_AUTOPOSTPROCESSOR_FREQUENCY)
    config.change_postprocessor_frequency(60)
    self.assertEqual(sickbeard.AUTOPOSTPROCESSOR_FREQUENCY, 60)
