

def test_no_sort(self):
    'Handles lack of querystring sort params.'
    qs = Mock()
    qs.on_template_response({
        'ctx_name': qs,
    })
    qs.order_by.assert_called_with('-created_on')

dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py SortDecoratorTest.test_no_sort/VarMisuse@18/35 `self`->`qs`