'Test setting of new fan mode.'

def test_set_fan_mode(self):

    state = self.hass.states.get(ENTITY_CLIMATE)
    self.assertEqual('On    High', state.attributes.get('fan_mode'))
    climate.set_fan_mode(self.hass, 'On    Low', ENTITY_CLIMATE)
    self.hass.block_till_done()
    state = self.hass.states.get(ENTITY_CLIMATE)
    self.assertEqual('On    Low', state.attributes.get('fan_mode'))
