Skip to content

Commit

Permalink
testing: update expected and for testing multiline
Browse files Browse the repository at this point in the history
- Update the test expected outcome for brightway-lca#291

Signed-off-by: [email protected]
  • Loading branch information
tngTUDOR committed Dec 19, 2024
1 parent 389a11e commit c161c29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ecospold2/ecospold2_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_extraction_without_synonyms():
"ei",
)
expected = {
"comment": "Things and stuff and whatnot\nIncluded activities start: Includes start stuff\nIncluded activities end: Includes end stuff\nTechnology: typical technology for ze Germans!",
"comment": "Things and stuff and whatnot\na Kikki comment\nIncluded activities start: Includes start stuff\nIncluded activities end: Includes end stuff\nTechnology: typical technology for ze Germans!",
"classifications": [
("EcoSpold01Categories", "construction materials/concrete"),
(
Expand Down Expand Up @@ -152,7 +152,7 @@ def test_extraction_with_synonyms():
"ei",
)
expected = {
"comment": "Things and stuff and whatnot\nIncluded activities end: Includes some stuff\nTechnology: typical technology for ze Germans!",
"comment": "Things and stuff and whatnot\na Kikki comment\nIncluded activities end: Includes some stuff\nTechnology: typical technology for ze Germans!",
"classifications": [
("EcoSpold01Categories", "construction materials/concrete"),
(
Expand Down Expand Up @@ -332,7 +332,7 @@ def test_condense_mutiline_comment():
)
text3.text = ""

expected = "\n".join(["Things and stuff and whatnot", "a Kikki comment", ""])
expected = "\n".join(["Things and stuff and whatnot", "a Kikki comment"])
gc_elem = getattr2(activity, "generalComment")
print(f"Processing {gc_elem}")
res = Ecospold2DataExtractor.condense_multiline_comment(gc_elem)
Expand Down

0 comments on commit c161c29

Please sign in to comment.