'auto_cycle was renamed auto_connect'

def test_simple_config_key_rename(self):

    fake_read_system = (lambda : {})
    fake_read_user = (lambda _: {'auto_cycle': True})
    read_user_dir = (lambda : self.user_dir)
    config = SimpleConfig(options=self.options, read_system_config_function=fake_read_system, read_user_config_function=fake_read_user, read_user_dir_function=read_user_dir)
    self.assertEqual(config.get('auto_connect'), True)
    self.assertEqual(config.get('auto_cycle'), None)
    fake_read_user = (lambda _: {'auto_connect': False, 'auto_cycle': True})
    config = SimpleConfig(options=self.options, read_system_config_function=fake_read_system, read_user_config_function=fake_read_user, read_user_dir_function=read_user_dir)
    self.assertEqual(config.get('auto_connect'), False)
    self.assertEqual(config.get('auto_cycle'), None)
