anki/pylib/tests
Damien Elmes 57d7e3e2ab commit immediately when there's no active checkpoint
Reviews and operations on the backend that support undoing can now be
committed immediately, so they will not be lost in the event of a crash.

This required tweaks to a few places:

- don't set collection mtime on save() unless changes were made in
Python, as otherwise we end up accidentally clearing the backend undo
queue
- autosave() is now run on every reset()
- garbage collection now runs in a timer, instead of relying on
autosave() to be run periodically
2021-03-10 11:47:53 +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
run_format.py Update mypy and black format check to python version 3.8 2020-11-11 09:24:28 +00:00
run_mypy.py initial Bazel conversion 2020-11-01 14:26:58 +10:00
run_pylint.py initial Bazel conversion 2020-11-01 14:26:58 +10:00
run_pytest.py implement fuzzing 2021-02-22 21:31:53 +10:00
shared.py fix errorsAfterMidnight 2020-04-08 10:05:19 +10:00
test_cards.py make backend instance on col private 2021-01-31 18:56:16 +10:00
test_collection.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
test_decks.py move drag/drop deck logic to backend 2021-01-31 13:46:31 +10:00
test_exporting.py rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
test_find.py remember last input for 'set due'; add string config; nest config types 2021-02-08 14:10:05 +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 initial Bazel conversion 2020-11-01 14:26:58 +10:00
test_latex.py remove print statement from unit tests 2020-11-18 13:56:44 +10:00
test_media.py Merge pull request #793 from nwwt/object-audio-tags-support 2020-11-11 10:33:31 +10:00
test_models.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
test_sched2021.py use different approach to running tests twice 2021-03-01 12:47:39 +10:00
test_schedv1.py Revert "use v2 scheduler+new timezone handling by default for new users" 2021-02-21 19:03:46 +10:00
test_schedv2.py switch to 4 buttons when previewing in test scheduler 2021-03-01 23:47:00 +10:00
test_stats.py d->col in tests 2020-07-17 06:58:32 +02:00
test_template.py d->col in tests 2020-07-17 06:58:32 +02:00
test_undo.py commit immediately when there's no active checkpoint 2021-03-10 11:47:53 +10:00