Commit Graph

16 Commits

Author SHA1 Message Date
郑佩茹
1d7bf6969a Correct line endings 2022-05-23 11:37:18 -06:00
郑佩茹
b55ac78f84 Fix getDeckStats test 2022-05-16 13:36:02 -06:00
郑佩茹
137554f522 Add getDeckStats action 2022-05-03 15:59:33 -06:00
oakkitten
700c6ae218 Explicitly require Anki >= 2.1.45
Consolidate Anki version checks across files
2022-04-26 15:22:06 +01:00
oakkitten
8f1a2cc5fd Convert all tests to pytest
Previously, tests were run against Anki launched by user.

Now,
 * most tests run against isolated Anki in current process;
 * tests in `test_server.py` launch another Anki in a separate process
   and run a few commands to test the server;
 * nearly all tests were preserved in the sense that
   what was being tested is tested still.
   A few tests in `test_graphical.py` are skipped due to
   a problem with the method tests, see the comments;
 * tests can be run:
   * In a single profile, using --no-tear-down-profile-after-each-test;
   * In a single app instance, but with the profile being torn down
     after each test--default;
   * In separate processes, using --forked.
2022-04-11 02:26:44 +01:00
a8273d0e38 Fix tests 2021-01-18 21:03:27 -08:00
Julian Müller
ce0cc7dce3
some additional actions (#185)
* implement needed actions

* add documentation and tests for cardInfo, updateCompleteDeck, reloadCollection, cardReviews, getLatestReviewID, insertReviews

Co-authored-by: Julian Müller <julian.mueller@stud-mail.uni-wuerzburg.de>
2020-07-12 12:53:31 -07:00
cd11abfc2a fix changeDeck tests 2018-05-09 14:20:20 -07:00
95ab8164cd updating note and deck tests 2018-05-08 18:47:45 -07:00
20a39f7604 work on deck tests 2018-05-08 18:29:29 -07:00
4c86400d32 cleanup deck tests 2018-05-08 17:22:42 -07:00
e63f2116cd cleanup 2018-05-07 14:34:41 -07:00
409245c41b wip 2018-05-07 14:18:20 -07:00
9e24d82a39 working on deck tests 2018-05-06 22:13:21 -07:00
acad72732f work on tests 2018-05-06 20:21:59 -07:00
tomasgodoi
86d6ff8b63 Including travis tests. 2017-08-29 01:21:32 -03:00