Back to index

plone3  3.1.7
Namespaces | Variables
testQuery.py File Reference

Go to the source code of this file.

Namespaces

namespace  ExtendedPathIndex.ptests.testQuery

Variables

int ExtendedPathIndex.ptests.testQuery.NUM_ITER = 500
string ExtendedPathIndex.ptests.testQuery.epi_path = '/'
tuple ExtendedPathIndex.ptests.testQuery.storage = FileStorage(file_name='EPI.fs', create=False, read_only=True)
tuple ExtendedPathIndex.ptests.testQuery.db = DB(storage)
tuple ExtendedPathIndex.ptests.testQuery.conn = db.open()
tuple ExtendedPathIndex.ptests.testQuery.root = conn.root()
list ExtendedPathIndex.ptests.testQuery.plone = root['plone']
 ExtendedPathIndex.ptests.testQuery.index = plone.index
tuple ExtendedPathIndex.ptests.testQuery.start = time.time()
tuple ExtendedPathIndex.ptests.testQuery.res = index._apply_index({"path": {'query': '/plone', "depth": 2}})
tuple ExtendedPathIndex.ptests.testQuery.end = time.time()
list ExtendedPathIndex.ptests.testQuery.res1 = res[0]
list ExtendedPathIndex.ptests.testQuery.res2 = res[0]