Anki/tests
Damien Elmes ba87fc7736 experiment with simple resched=off case to 'preview mode'
the previous approach meant we weren't able to preserve the card state
exactly when cards were in learning, since we didn't record the step
position prior to cards being moved into the filtered deck.

it also meant the answer buttons needed to change depending on state - 4
for cards in learning/review, but 2 when the card is on the final step
or is a review.

instead, in preview mode cards always have 2 buttons: again will repeat
again after a delay, and good immediately removes the card and restores
it to its previous state.

to accomplish this, we use a separate queue #, as the learn count
always needs to have a 1:1 correspondence to the number of cards
2018-01-14 12:16:53 +10:00
..
support update note type on apkg import when only templates have changed 2014-06-28 13:51:30 -05:00
__init__.py merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
shared.py start port to python 3 2016-05-12 14:45:35 +10:00
test_cards.py start port to python 3 2016-05-12 14:45:35 +10:00
test_collection.py run unit tests in parallel 2017-10-05 14:17:12 +10:00
test_decks.py start port to python 3 2016-05-12 14:45:35 +10:00
test_exporting.py schedtest changes, squashed from local branch 2018-01-14 12:16:53 +10:00
test_find.py Test special characters in tag search 2017-02-28 08:11:32 +09:30
test_flags.py fix broken cloze deletion 2017-09-10 19:51:25 +10:00
test_importing.py fix 'unclosed file' warnings with python -Wall 2017-12-11 16:38:15 +10:00
test_latex.py run unit tests in parallel 2017-10-05 14:17:12 +10:00
test_media.py fix 'unclosed file' warnings with python -Wall 2017-12-11 16:38:15 +10:00
test_models.py another fix for mathjax+cloze 2017-09-12 13:53:08 +10:00
test_sched.py experiment with simple resched=off case to 'preview mode' 2018-01-14 12:16:53 +10:00
test_stats.py fix 'unclosed file' warnings with python -Wall 2017-12-11 16:38:15 +10:00
test_sync.py schedtest changes, squashed from local branch 2018-01-14 12:16:53 +10:00
test_undo.py schedtest changes, squashed from local branch 2018-01-14 12:16:53 +10:00
test_utils.py fix time translation patch 2017-12-04 12:33:23 +10:00