'Test change_use_subtitles'

def test_change_use_subtitles(self):

    sickbeard.subtitlesFinderScheduler = scheduler.Scheduler((lambda : None))
    sickbeard.USE_SUBTITLES = True
    config.change_use_subtitles(True)
    self.assertTrue(sickbeard.USE_SUBTITLES)
    config.change_use_subtitles('stop')
    self.assertFalse((sickbeard.USE_SUBTITLES and sickbeard.subtitlesFinderScheduler.enable))
    config.change_use_subtitles('on')
    self.assertTrue((sickbeard.USE_SUBTITLES and sickbeard.subtitlesFinderScheduler.enable))
