Anki/pylib/tests
Damien Elmes 0bb273a0ed replace the old stripHTML() methods with the backend implementation
Python's regex engine performs pathologically on regexes like
'<!--.*?-->' when fed a large string of repeating '<!--' clauses.
Thanks to JaimeSlome / security@huntr.dev for the report; closes #1380.

Solved by switching to the Rust implementation, which does not suffer
from this issue.

entsToText(), minimizeHTML(), and the old regex constants have been
removed; they do not appear to be used by any add-ons.
2021-10-01 23:15:45 +10:00
..
support tweaking the folder names again 2020-01-03 07:48:38 +10:00
__init__.py replace the old stripHTML() methods with the backend implementation 2021-10-01 23:15:45 +10:00
run_format.py Fix black workaround for format calls 2021-05-18 22:19:09 +02:00
run_mypy.py update to latest mypy 2021-06-16 16:04:59 +10:00
run_pylint.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
run_pytest.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
shared.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
test_cards.py PEP8 collection.py 2021-06-27 15:12:22 +10:00
test_collection.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
test_decks.py PEP8 collection.py 2021-06-27 15:12:22 +10:00
test_exporting.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
test_find.py Add pylib/browser.py for literal config keys 2021-07-05 12:44:48 +02:00
test_flags.py PEP8 collection.py 2021-06-27 15:12:22 +10:00
test_importing.py PEP8 collection.py 2021-06-27 15:12:22 +10:00
test_latex.py PEP8 cards.py 2021-06-27 12:12:23 +10:00
test_media.py Revert "stop (un)escaping media filenames" 2021-07-16 10:37:59 +10:00
test_models.py PEP8 collection.py 2021-06-27 15:12:22 +10:00
test_sched2021.py use different approach to running tests twice 2021-03-01 12:47:39 +10:00
test_schedv1.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
test_schedv2.py revert some interday learning changes in v3 2021-08-19 16:40:12 +10:00
test_stats.py PEP8 collection.py 2021-06-27 15:12:22 +10:00
test_template.py PEP8 cards.py 2021-06-27 12:12:23 +10:00
test_undo.py PEP8 collection.py 2021-06-27 15:12:22 +10:00