summaryrefslogtreecommitdiffstats
path: root/tests/activities/views/test_timelines.py
blob: a2cbb32b9d03e755dbf6cea76f20fdd85914400c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import pytest


@pytest.mark.django_db
def test_content_warning_text(client_with_identity, config_system):

    config_system.content_warning_text = "Content Summary"

    response = client_with_identity.get("/")

    assert response.status_code == 200
    assert 'placeholder="Content Summary"' in str(response.rendered_content)