Anki/pylib/tests
Damien Elmes f637ac957d hook up new note and note type handling
- notetypes are fetched from the DB as needed, and cached in Python
- handle note type changes in the backend. Multiple operations can now
be performed in one go, but this is not currently exposed in the GUI.
- extra methods to grab sorted note type names quickly, and fetch by
name
- col.models.save() without a provided notetype is now a no-op
- note loading/saving handled in the backend
- notes with no valid cards can now be added
- templates can now be deleted even if they would previously
orphan notes

a number of fixmes have been left in notes.py and models.py
2020-05-12 21:13:33 +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 fix errorsAfterMidnight 2020-04-08 10:05:19 +10:00
test_cards.py hook up new note and note type handling 2020-05-12 21:13:33 +10:00
test_collection.py hook up new note and note type handling 2020-05-12 21:13:33 +10:00
test_decks.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
test_exporting.py preserve mtime/usn when syncing deck config, and add snake_case names 2020-04-03 19:34:46 +10:00
test_find.py hook up new note and note type handling 2020-05-12 21:13:33 +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 hide deprecation warning triggered by supermemo test 2020-04-06 20:24:17 +10:00
test_latex.py new render_all_latex() + gui button; remove some old code 2020-02-17 08:40:17 +10:00
test_media.py hook up new note and note type handling 2020-05-12 21:13:33 +10:00
test_models.py hook up new note and note type handling 2020-05-12 21:13:33 +10:00
test_schedv1.py add an extra second to a unit test 2020-05-12 21:13:33 +10:00
test_schedv2.py preserve mtime/usn when syncing deck config, and add snake_case names 2020-04-03 19:34:46 +10:00
test_stats.py use a new file each time when testing graphs 2020-04-06 15:39:47 +10:00
test_template.py comment out the unused legacy code 2020-01-17 10:51:36 +10:00
test_undo.py CARD_TYPE_LRN and QUEUE_TYPE_LRN 2020-02-04 08:47:35 -08:00