def keyStats(self):
"""Count the total number of keys and values in the database.
- @rtype: (C{int), C{int})
+ @rtype: (C{int}, C{int})
@return: the number of distinct keys and total values in the database
"""
c = self.conn.cursor()
def test_Value(self):
self.store.storeValue(self.key, self.key)
+ self.failUnlessEqual(self.store.countValues(self.key), 1)
val = self.store.retrieveValues(self.key)
self.failUnlessEqual(len(val), 1)
self.failUnlessEqual(val[0], self.key)