mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
update unit test for new sync behaviour
This commit is contained in:
parent
cb533d9c02
commit
593a1e75b0
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def test_localsync_deck():
|
||||||
assert deck1.lastSync == 0 and deck2.lastSync == 0
|
assert deck1.lastSync == 0 and deck2.lastSync == 0
|
||||||
client.sync()
|
client.sync()
|
||||||
assert deck1.modified == deck2.modified
|
assert deck1.modified == deck2.modified
|
||||||
assert deck1.lastSync == deck1.modified
|
assert deck1.modified <= deck1.lastSync
|
||||||
assert deck1.lastSync == deck2.lastSync
|
assert deck1.lastSync == deck2.lastSync
|
||||||
# ensure values are being synced
|
# ensure values are being synced
|
||||||
deck1.lowPriority += u",foo"
|
deck1.lowPriority += u",foo"
|
||||||
|
|
Loading…
Reference in a new issue