fix intermittent failing test

This commit is contained in:
Damien Elmes 2017-02-08 16:54:59 +10:00
parent dc022142cf
commit 18ccf26a2e

View File

@ -191,7 +191,7 @@ def test_decks():
time.sleep(0.1)
deck2.save()
assert client.sync() == "success"
assert deck1.tags.all() == deck2.tags.all()
assert sorted(deck1.tags.all()) == sorted(deck2.tags.all())
assert len(deck1.decks.all()) == len(deck2.decks.all())
assert len(deck1.decks.all()) == 3
assert deck1.decks.confForDid(1)['maxTaken'] == 60