mirror of
https://github.com/ankitects/anki.git
synced 2025-11-13 08:07:11 -05:00
fix reviewHistory unit test
This commit is contained in:
parent
dfd70ce4a1
commit
af176921df
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ def test_localsync_deck():
|
||||||
client.sync()
|
client.sync()
|
||||||
assert dailyStats(deck2).reps == 1
|
assert dailyStats(deck2).reps == 1
|
||||||
assert globalStats(deck2).reps == 1
|
assert globalStats(deck2).reps == 1
|
||||||
assert deck2.s.scalar("select count(id) from reviewHistory") == 1
|
assert deck2.s.scalar("select count(*) from reviewHistory") == 1
|
||||||
|
|
||||||
@nose.with_setup(setup_local, teardown)
|
@nose.with_setup(setup_local, teardown)
|
||||||
def test_localsync_models():
|
def test_localsync_models():
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue