'Test change_version_notify'

def test_change_version_notify(self):

    class dummy_action(object, ):
        def __init__(self):
            self.amActive = False
    sickbeard.versionCheckScheduler = scheduler.Scheduler(dummy_action())
    sickbeard.VERSION_NOTIFY = True
    config.change_version_notify(True)
    self.assertTrue(sickbeard.VERSION_NOTIFY)
    config.change_version_notify('stop')
    self.assertFalse((sickbeard.VERSION_NOTIFY and sickbeard.versionCheckScheduler.enable))
    config.change_version_notify('on')
    self.assertTrue((sickbeard.VERSION_NOTIFY and sickbeard.versionCheckScheduler.enable))
