소스 검색

added provizion value

vnc-console 3 달 전
부모
커밋
3c4620eb84
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      tests/test_xml.py

+ 3 - 1
tests/test_xml.py

@@ -34,7 +34,8 @@ class Test(unittest.TestCase):
             xpaths['total_chelt_av_C2'] = def_tree['F10_0102']
             xpaths['total_dat_tot_C1'] = sum([int(def_tree['F10_0131']), int(def_tree['F10_0161'])])
             xpaths['total_dat_tot_C2'] = sum([int(def_tree['F10_0132']), int(def_tree['F10_0162'])])
-            xpaths['total_ven_av_C1'] = def_tree['F10_0181']
+            xpaths['total_proviz_C1'] = def_tree['F10_0171']
+            xpaths['total_proviz_C2'] = def_tree['F10_0172']
             xpaths['total_ven_av_C2'] = def_tree['F10_0182']
             xpaths['total_cap_soc_C1'] = def_tree['F10_0291']
             xpaths['total_cap_soc_C2'] = def_tree['F10_0292']
@@ -120,6 +121,7 @@ class Test(unittest.TestCase):
                     row[30].value = F10()['total_chelt_av_C2']
                     row[32].value = F10()['total_cap_propr_C2']
                     row[33].value = F10()['total_dat_tot_C2']
+                    row[34].value = F10()['total_proviz_C2']
                     row[35].value = F10()['total_ven_av_C2']
                     row[47].value = 12
                     row[48].value = date.today().year - 1