Browse Source

print tree (see if F20 is present or not)

vnc-console 3 tháng trước cách đây
mục cha
commit
3e8a2a9845
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      tests/test_xml.py

+ 1 - 0
tests/test_xml.py

@@ -20,6 +20,7 @@ class Test(unittest.TestCase):
         # root = xml.getroot()
         tree = xml.xpath('/xmlns:Bilant1005/*', namespaces={'xmlns': 'mfp:anaf:dgti:s1005:declaratie:v12'})
         # print(tree[0].attrib['F10_0041'])
+        print(tree)
 
         def F10() -> dict[int]:
             def_tree = defaultdict(lambda: 0)