def test_select_option(self):
        self.assertTrue(input_select.setup(self.hass, {
            'input_select': {
                'test_1': {
                    'options': [
                        'some option',
                        'another option',
                    ],
                },
            }
        }))
        entity_id = 'input_select.test_1'

        state = self.hass.states.get(entity_id)
        self.assertEqual('some option', state.state)

        input_select.select_option(self.hass, entity_id, 'another option')
        self.hass.pool.block_till_done()

        state = self.hass.states.get(entity_id)
        self.assertEqual('another option', state.state)

        input_select.select_option(self.hass, entity_id, 'non existing option')
        self.hass.pool.block_till_done()

        state = self.hass.states.get(entity_id)
        self.assertEqual('another option', state.state)
[<channel>] <factoid key>
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/test_input_select.py/TestInputSelect.test_select_option--crossover with--dataset/ETHPy150Open ProgVal/Limnoria/plugins/MoobotFactoids/plugin.py/MoobotFactoids.remove