

def test_full_querystring(table):
    request = build_request('/?page=1&per_page=5&sort=abc')
    table = table.expects('paginate').with_args(page=1, per_page=5).expects('order_by').with_args('abc')
    RequestConfig(request).configure(table)

dataset/ETHPy150Open bradleyayers/django-tables2/tests/test_config.py test_full_querystring/original