def list_profile(hostname, username, password, profile_type, name):

    ret = {'name': name, 'changes': {}, 'result': False, 'comment': ''}

    if __opts__['test']:
        return _test_output(ret, 'list', params={
            'hostname': hostname,
            'username': username,
            'password': password,
            'profile_type': profile_type,
            'name': name
        })

    response = __salt__['bigip.list_profile'](hostname, username, password, profile_type, name)
    return _load_result(response, ret)
Regression test for #8039: Ordering sometimes removed relevant tables
dataset/ETHPy150Open saltstack/salt/salt/states/bigip.py/list_profile--crossover with--dataset/ETHPy150Open django/django/tests/extra_regress/tests.py/ExtraRegressTests.test_regression_8039