Преглед изворни кода

print tree (see if F20 is present or not)

vnc-console пре 3 месеци
родитељ
комит
3e8a2a9845
1 измењених фајлова са 1 додато и 0 уклоњено
  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)