

@no_mysql
@no_oracle
@no_spatialite
def test_force_rhr(self):
    'Testing GeoQuerySet.force_rhr().'
    rings = (((0, 0), (5, 0), (0, 5), (0, 0)), ((1, 1), (1, 3), (3, 1), (1, 1)))
    rhr_rings = (((0, 0), (0, 5), (5, 0), (0, 0)), ((1, 1), (3, 1), (1, 3), (1, 1)))
    State.objects.create(name='Foo', poly=Polygon(*rings))
    s = State.objects.force_rhr().get(name='Foo')
    self.assertEqual(rings, s.force_rhr.coords)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/tests/geoapp/tests.py GeoQuerySetTest.test_force_rhr/VarMisuse@173/207 `rhr_rings`->`rings`