'Test that the UOM defaults if not initialized.'

def test_uom_uninitialized(self):

    type(self.port).tag = mock.PropertyMock(side_effect=ValueError)
    self.assertEqual('State', self.sensor.unit_of_measurement)
