Skip to content

Commit

Permalink
Update test_settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-sorrentino committed Nov 14, 2024
1 parent 323efb6 commit 550e17a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,5 +722,5 @@ def test_update_directory_intro_text(client: FlaskClient) -> None:
response = client.get(url_for("directory"), follow_redirects=True)
assert response.status_code == 200
assert expected_sanitized in response.get_data(as_text=True)
assert '<script>' not in response.get_data(as_text=True)
assert 'onclick' not in response.get_data(as_text=True)
assert "<script>" not in response.get_data(as_text=True)
assert "onclick" not in response.get_data(as_text=True)

0 comments on commit 550e17a

Please sign in to comment.