def test_orders_queryset(self):
        req = RequestFactory().get(
            "/a/url", {"sortfield": "name", "sortdirection": "asc"})
        qs = Mock()
        self.on_template_response({"ctx_name": qs}, request=req)

        qs.order_by.assert_called_with("name")
Handle errors associated with a parameter missing a param tag.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py/SortDecoratorTest.test_orders_queryset--crossover with--dataset/ETHPy150Open google/closure-linter/closure_linter/javascriptlintrules.py/JavaScriptLintRules.HandleMissingParameterDoc