def cls(self, full_path, GET):
        request = Mock()
        request.GET = GET
        request.get_full_path.return_value = full_path

        from moztrap.view.lists.sort import Sort
        return Sort(request)
Construct mock request; instantiate and return Sort object.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py/SortTest.cls