Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Nov 29, 2024
1 parent 14634bb commit 379bc37
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/test_process_ei310_cutoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ def test_brightway():
bw2data.projects.set_current(f"ecoinvent-{ei_version}-{system_model}")
clear_inventory_cache()

if f"ecoinvent-{ei_version}-{system_model}" not in bw2data.databases:
bw2io.import_ecoinvent_release(
version=ei_version,
system_model=system_model,
username=ei_user,
password=ei_pass,
biosphere_name=f"ecoinvent-{ei_version}-biosphere",
)
#if f"ecoinvent-{ei_version}-{system_model}" not in bw2data.databases:
bw2io.import_ecoinvent_release(
version=ei_version,
system_model=system_model,
username=ei_user,
password=ei_pass,
biosphere_name=f"ecoinvent-{ei_version}-biosphere",
)

bw2data.projects.set_current(f"ecoinvent-{ei_version}-{system_model}")

Expand Down

0 comments on commit 379bc37

Please sign in to comment.