Merge pull request #949 from GSA/notify-admin-901

Create UI changes to let people know of considerations when using Non-ISO character sets
This commit is contained in:
Carlo Costino
2023-12-04 13:28:53 -05:00
committed by GitHub
3 changed files with 27 additions and 6 deletions

View File

@@ -2112,7 +2112,7 @@ def test_content_count_json_endpoint(
html = json.loads(response.get_data(as_text=True))["html"]
snippet = BeautifulSoup(html, "html.parser").select_one("span")
assert normalize_spaces(snippet.text) == expected_message
assert expected_message in normalize_spaces(snippet.text)
if snippet.has_attr("class"):
assert snippet["class"] == [expected_class]