'Test the state of uninitialized sensors.'

def test_state_uninitialized(self):

    type(self.port).tag = mock.PropertyMock(side_effect=ValueError)
    self.assertEqual(mfi.STATE_OFF, self.sensor.state)
