'Test setting the target humidity without required attribute.'

def test_set_target_humidity_bad_attr(self):

    state = self.hass.states.get(ENTITY_CLIMATE)
    self.assertEqual(67, state.attributes.get('humidity'))
    climate.set_humidity(self.hass, None, ENTITY_CLIMATE)
    self.hass.block_till_done()
    state = self.hass.states.get(ENTITY_CLIMATE)
    self.assertEqual(67, state.attributes.get('humidity'))
