'Testing that Area calculations work on geography columns.'

@skipUnlessDBFeature('has_Area_function', 'supports_area_geodetic')
def test_geography_area(self):

    z = Zipcode.objects.annotate(area=Area('poly')).get(code='77002')
    rounded_value = z.area.sq_m
    rounded_value -= (z.area.sq_m % 1000)
    self.assertEqual(rounded_value, 5439000)
