'Test reproduce_state with bad state.'

def test_reproduce_bad_state(self):

    calls = mock_service(self.hass, 'light', SERVICE_TURN_ON)
    self.hass.states.set('light.test', 'off')
    state.reproduce_state(self.hass, ha.State('light.test', 'bad'))
    self.hass.block_till_done()
    self.assertTrue((len(calls) == 0))
    self.assertEqual('off', self.hass.states.get('light.test').state)
