mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix unit test
This commit is contained in:
parent
de04f8bc41
commit
267b7b0035
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def test_findCards():
|
|||
assert len(deck.findCards('"goats are"')) == 1
|
||||
# card states
|
||||
c = f.cards()[0]
|
||||
c.queue = 2
|
||||
c.queue = c.type = 2
|
||||
assert deck.findCards("is:review") == []
|
||||
c.flush()
|
||||
assert deck.findCards("is:review") == [c.id]
|
||||
|
|
Loading…
Reference in a new issue