Преглед на файлове

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)