Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix test_xml_validation_low_level.py #837

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 0 additions & 4 deletions test/unittests/utils/test_xml_validation_low_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ def test_find_xml_tags_in_simple_text_elements_forbidden_escapes_two(self) -> No
assert res_msg == expected_msg


if __name__ == "__main__":
pytest.main([__file__])


def test_find_all_text_props_with_multiple_encodings_problems() -> None:
test_props = [TextValueData("problem_id", "problem_prop", {"xml", "utf8"}), TextValueData("", "", {"utf8"})]
problem = _find_all_text_props_with_multiple_encodings(test_props)[0]
Expand Down