

def test_no_querystring(table):
    request = build_request('/')
    table = table.has_attr(order_by=NOTSET).expects('paginate')
    RequestConfig(request).configure(table)
    assert (table.order_by is NOTSET)

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