diff paraspace/tests/dexfile_test.py @ 132:75a31967ebee

Following the ref in resotre_dependencies()
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 09 Aug 2011 15:30:45 +0800
parents ff6f869273b7
children 987fead83ce3
line wrap: on
line diff
--- a/paraspace/tests/dexfile_test.py	Tue Aug 09 11:47:43 2011 +0800
+++ b/paraspace/tests/dexfile_test.py	Tue Aug 09 15:30:45 2011 +0800
@@ -118,7 +118,7 @@
     dexroot = dex.typeLists.items[0].value
 
     itr = _travel_dex_relocatable(dexroot)
-    pathes = [v[2] for v in itr]
+    pathes = [node.name_path for node in itr]
     assert len(pathes) == 6
     assert '_DEX_TypeList' in pathes
     assert '_DEX_TypeList.num' in pathes