'Popularity and trending use regional sorting for mature regions.'

def test_sort_regional(self):

    req = RequestFactory().get('/')
    req.REGION = mkt.regions.BRA
    qs = self._filter(req)
    ok_(({('popularity_%s' % mkt.regions.BRA.id): {'order': 'desc'}} in qs['sort']))
    req = RequestFactory().get('/', data={'sort': ['popularity']})
    req.REGION = mkt.regions.BRA
    qs = self._filter(req)
    ok_(({('popularity_%s' % mkt.regions.BRA.id): {'order': 'desc'}} in qs['sort']))
    req = RequestFactory().get('/', data={'sort': ['trending']})
    req.REGION = mkt.regions.BRA
    qs = self._filter(req)
    ok_(({('trending_%s' % mkt.regions.BRA.id): {'order': 'desc'}} in qs['sort']))
