def test_value(self):
        """
        Altitudes can be instantiated and reports the correct value in
        meters and feet, as well as when converted to float.
        """
        altitude = base.Altitude(1.)
        self.assertEqual(float(altitude), 1.)
        self.assertEqual(altitude.inMeters, 1.)
        self.assertEqual(altitude.inFeet, 1./base.METERS_PER_FOOT)

        Altitudes can be instantiated and reports the correct value in
        meters and feet, as well as when converted to float.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py