'Test tilt defaults on close/open.'

def test_tilt_via_invocation_defaults(self):

    self.assertTrue(setup_component(self.hass, cover.DOMAIN, {cover.DOMAIN: {'platform': 'mqtt', 'name': 'test', 'state_topic': 'state-topic', 'command_topic': 'command-topic', 'qos': 0, 'payload_open': 'OPEN', 'payload_close': 'CLOSE', 'payload_stop': 'STOP', 'tilt_command_topic': 'tilt-command-topic', 'tilt_status_topic': 'tilt-status-topic'}}))
    cover.open_cover_tilt(self.hass, 'cover.test')
    self.hass.block_till_done()
    self.assertEqual(('tilt-command-topic', 100, 0, False), self.mock_publish.mock_calls[(-2)][1])
    cover.close_cover_tilt(self.hass, 'cover.test')
    self.hass.block_till_done()
    self.assertEqual(('tilt-command-topic', 0, 0, False), self.mock_publish.mock_calls[(-2)][1])
