'Test moving the cover til to a specific position.'

def test_set_cover_tilt_position(self):

    state = self.hass.states.get(ENTITY_COVER)
    self.assertEqual(50, state.attributes.get('current_tilt_position'))
    cover.set_cover_tilt_position(self.hass, 90, ENTITY_COVER)
    self.hass.block_till_done()
    for _ in range(7):
        future = (dt_util.utcnow() + timedelta(seconds=1))
        fire_time_changed(self.hass, future)
        self.hass.block_till_done()
    state = self.hass.states.get(ENTITY_COVER)
    self.assertEqual(90, state.attributes.get('current_tilt_position'))
