- Timestamp:
- 03/30/11 11:17:26 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/pyregfi-smoketest.py
r217 r218 18 18 while p != None: 19 19 path.append(p.name) 20 if p.is_root(): 21 break 22 else: 23 p = p.get_parent() 20 p = p.get_parent() 24 21 path.reverse() 25 22 del path[0] … … 130 127 # to access various base structure attributes. 131 128 def recurseKeyTally(hive): 132 root = hive.get_root() 133 checkValues(root) 134 recurseTree(root, checkValues) 129 checkValues(hive.root) 130 recurseTree(hive.root, checkValues) 135 131 print(" Key stat: %f" % recurseKey_stat) 136 132 print(" Value stat: %f" % recurseValue_stat) … … 143 139 144 140 #tests = [("iterTallyNames",iterTallyNames),("iterParentWalk",iterParentWalk),("iterTallyData",iterTallyData),] 145 tests = [("recurseKeyTally",recurseKeyTally), ]141 tests = [("recurseKeyTally",recurseKeyTally),("iterParentWalk",iterParentWalk),] 146 142 147 143 files = []
Note: See TracChangeset
for help on using the changeset viewer.