<commit_before>import pytest

from meinberlin.test.helpers import assert_template_response


@pytest.mark.django_db
def test_detail_view(client, project_container):
    url = project_container.get_absolute_url()
    response = client.get(url)
    assert_template_response(
        response, 'meinberlin_projects/project_detail.html')

    assert 'meinberlin_projectcontainers/includes/container_detail.html' \
        in (template.name for template in response.templates)<commit_msg>tests: update tests<commit_after>import pytest

from meinberlin.test.helpers import assert_template_response


@pytest.mark.django_db
def test_detail_view(client, project_container):
    url = project_container.get_absolute_url()
    response = client.get(url)
    assert_template_response(
        response, 'meinberlin_projects/project_container_detail.html')

    assert 'meinberlin_projectcontainers/includes/container_detail.html' \
        in (template.name for template in response.templates)
{'fraction_non_alphanumeric': 0.07637474541751528, 'fraction_numerical': 0.0, 'mean_word_length': 5.261146496815287, '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': '1079635', 'n_tokens_mistral': 288, 'n_tokens_neox': 288, 'n_words': 51}