refactor(cost): 优化LME成员去重与措施清单标签还原,清理临时核查脚本
This commit is contained in:
@@ -107,5 +107,7 @@ def test_rollup_end_to_end(server):
|
||||
dv = root.find("DivisionalWorks")
|
||||
if "Total" in dv.attrib: # 骨架有该列才回填(列由骨架闸门)
|
||||
assert dv.attrib["Total"] == "2000.00" # 分部合价=修改后的清单合价
|
||||
assert root.find(".//WorkElement").attrib["Total"] == "2000.00" # 清单合价 2 位(决策 244 补六)
|
||||
assert root.find(".//WorkElement").attrib["Quantity"] == "20.000000" # 数量 6 位(决策 264 补记五)
|
||||
_we = root.find(".//WorkElement[@Number='B001']")
|
||||
assert _we is not None
|
||||
assert _we.attrib["Total"] == "2000.00" # 清单合价 2 位(决策 244 补六)
|
||||
assert _we.attrib["Quantity"] == "20.000000" # 数量 6 位(决策 264 补记五)
|
||||
|
||||
Reference in New Issue
Block a user