'Test that name\'s link sorts by asc if already sorting by created.'

def test_sort_asc_created(self):

    link = create_sort_link('Name', 'name', [('text_query', 'irrel')], 'created', 'desc')
    assert ('sort=name' in link)
    assert ('order=asc' in link)
    assert ('text_query=irrel' in link)
