def test_scale_offset_as_quantity_property(self): assert self.axis.scale_as_quantity == 12E-12 * _ureg('m') assert self.axis.offset_as_quantity == 5E-9 * _ureg('m')