Anki/tests
Damien Elmes 6ec898ca4b Require explicit reset for most queue-modifying functions
When you call operations like deleteCards(), suspendCards() and so on, it is
now necessary to call deck.reset() afterwards. This allows the calling code to
delay a reset if necessary. If the calling code calls a function that says the
caller must reset, the caller should be sure to call .reset() and fetch the
current card again. Failure to do the latter will result in answerCard()
attempting to remove the card from the queue, when the queue has been cleared.
2010-11-23 17:41:36 +09:00
..
deck support media for memory backed files 2009-01-04 07:40:32 +09:00
importing truncate supermemo tests to avoid any possible license concerns 2010-02-18 16:53:29 +09:00
syncing/media-tests initial commit from hg 2008-09-27 23:50:03 +09:00
__init__.py initial commit from hg 2008-09-27 23:50:03 +09:00
shared.py initial commit from hg 2008-09-27 23:50:03 +09:00
test_deck.py Require explicit reset for most queue-modifying functions 2010-11-23 17:41:36 +09:00
test_exporting.py don't backup in unit tests 2010-02-20 10:03:47 +09:00
test_importing.py don't backup in unit tests 2010-02-20 10:03:47 +09:00
test_sync.py start work on scheduling refactor 2010-10-18 14:35:11 +09:00
test_utils.py do need to rebuild counts on export 2008-11-21 15:46:17 +09:00