refactor(cost): 优化LME成员去重与措施清单标签还原,清理临时核查脚本
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user