<commit_before>import pytest
from rest_framework.reverse import reverse

authenticated_access_urls = [
    reverse('clipping_area-list'),
    reverse('conversion_job-list'),
    reverse('conversion_parametrization-list'),
]


@pytest.fixture(params=authenticated_access_urls)
def access_urls(request):
    return request.param


def test_access_for_unauthorized_user_denied(client, access_urls):
    response = client.get(access_urls)
    assert response.status_code == 403


@pytest.mark.django_db()
def test_access_for_authenticated_client_allowed(authenticated_client, access_urls):
    response = authenticated_client.get(access_urls)
    assert response.status_code == 200


def test_access_for_admin_user_allowed(admin_client, access_urls):
    response = admin_client.get(access_urls)
    assert response.status_code == 200<commit_msg>rename fixture to singular<commit_after>import pytest
from rest_framework.reverse import reverse

authenticated_access_urls = [
    reverse('clipping_area-list'),
    reverse('conversion_job-list'),
    reverse('conversion_parametrization-list'),
]


@pytest.fixture(params=authenticated_access_urls)
def access_url(request):
    return request.param


def test_access_for_unauthorized_user_denied(client, access_url):
    response = client.get(access_url)
    assert response.status_code == 403


@pytest.mark.django_db()
def test_access_for_authenticated_client_allowed(authenticated_client, access_url):
    response = authenticated_client.get(access_url)
    assert response.status_code == 200


def test_access_for_admin_user_allowed(admin_client, access_url):
    response = admin_client.get(access_url)
    assert response.status_code == 200
{'fraction_non_alphanumeric': 0.08520710059171598, 'fraction_numerical': 0.010650887573964497, 'mean_word_length': 6.482300884955753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6175707', 'n_tokens_mistral': 546, 'n_tokens_neox': 521, 'n_words': 82}