refactor(cost): 优化LME成员去重与措施清单标签还原,清理临时核查脚本

This commit is contained in:
lianjianwei2024
2026-11-04 18:03:16 +08:00
parent 4e5a157687
commit 449d6d18ba
157 changed files with 82259 additions and 300 deletions

View File

@@ -123,7 +123,7 @@ def test_adopt_gcl_default_and_price_overwrite(server):
_unit_txt = "".join(zf.read(n).decode("utf-8", "replace") for n in zf.namelist()
if n.lower() != "project.xml")
_root = _ET.fromstring(_unit_txt)
_we = _root.find(".//WorkElement")
_we = _root.find(".//WorkElement[@Number='B001']")
assert _we is not None
assert _we.attrib["Quantity"] == "20.000000" and _we.attrib["Price"] == "600.00" \
and _we.attrib["Total"] == "12000.00", dict(_we.attrib)