def test_attribute_unit(self): """ the attribtue "input" can be set """ e = UnitValue(7.1, 0.01) self.assertEqual(e.unit, 0.01) e.unit = 0.1 self.assertEqual(e.unit, 0.1)