anki/pylib/tests
Damien Elmes 9bb0348fdd more template rendering tweaks
- The front and back are rendered in one call now. If the front
side contains no custom filters, we can bake {{FrontSide}} into the
rear side. If it did contain custom filters, we return the partially
complete rear template instead, and the calling code can inject
the FrontSide in after it has been fully rendered.

- Instead of modifying "cloze" into something like "cq-2", the card
ordinal and whether we're rendering the question or answer are now
passed in to the rendering filters as context.

- The Rust code doesn't need to support filter names split on '-'
anymore.

- Drop the "Show" part of hint descriptions so i18n support can be
deferred.

- Ignore blank filter names caused by user using two colons instead
of one.

- Fixed hint field and text transposition.
2020-01-12 21:34:07 +10:00
..
support tweaking the folder names again 2020-01-03 07:48:38 +10:00
__init__.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
shared.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
test_cards.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
test_collection.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
test_decks.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
test_exporting.py switch from nose2 to pytest 2020-01-03 08:52:10 +10:00
test_find.py switch from nose2 to pytest 2020-01-03 08:52:10 +10:00
test_flags.py add tests and setup.py to checks; fix warnings 2020-01-06 15:27:59 +10:00
test_importing.py add tests and setup.py to checks; fix warnings 2020-01-06 15:27:59 +10:00
test_latex.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
test_media.py add tests and setup.py to checks; fix warnings 2020-01-06 15:27:59 +10:00
test_models.py drop pystache and move legacy code into separate file 2020-01-11 19:38:30 +10:00
test_schedv1.py add tests and setup.py to checks; fix warnings 2020-01-06 15:27:59 +10:00
test_schedv2.py add tests and setup.py to checks; fix warnings 2020-01-06 15:27:59 +10:00
test_stats.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
test_template.py more template rendering tweaks 2020-01-12 21:34:07 +10:00
test_undo.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
test_utils.py tweaking the folder names again 2020-01-03 07:48:38 +10:00