diff options
Diffstat (limited to 'tests/test_backingstore.py')
-rw-r--r-- | tests/test_backingstore.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_backingstore.py b/tests/test_backingstore.py index 8aab9e6..4138219 100644 --- a/tests/test_backingstore.py +++ b/tests/test_backingstore.py @@ -1,5 +1,5 @@ import unittest -from testutils import tmpData, waitforindex +from testutils import tmpData from olpc.datastore import backingstore import os @@ -30,7 +30,7 @@ class Test(unittest.TestCase): uid = bs.create(dict(title="A"), tmpData(d)) - waitforindex(bs) + bs.complete_indexing() obj = bs.get(uid) @@ -40,7 +40,7 @@ class Test(unittest.TestCase): bs.update(uid, dict(title="B"), tmpData(d2)) - waitforindex(bs) + bs.complete_indexing() obj = bs.get(uid) assert obj.get_property('title') == "B" |