Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/units/db/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/db/index.py')
-rwxr-xr-xtests/units/db/index.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/units/db/index.py b/tests/units/db/index.py
index ef6df53..9d996b0 100755
--- a/tests/units/db/index.py
+++ b/tests/units/db/index.py
@@ -30,6 +30,10 @@ class IndexTest(tests.Test):
def test_Create(self):
db = Index({'key': IndexedProperty('key', 1, 'K')})
+ self.assertEqual(
+ ([], 0),
+ db._find())
+
db.store('1', {'key': 'value_1'})
self.assertEqual(
([{'guid': '1', 'key': 'value_1'}], 1),