Skip to content

Commit

Permalink
Fix export function
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Oct 15, 2023
1 parent e2ebc63 commit f406589
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_reproducing_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
import bw2data
import bw2io
import numpy as np
import pytest
import yaml

from unfold import Fold, Unfold

bw2data.projects.set_current("test")
bw2io.bw2setup()
def test_db_reproduction():

bw2data.projects.set_current("test")
bw2io.create_default_biosphere3()

def test_db_reproduction():
fp = "./tests/fixture/reference_database.yaml"
with open(fp, "r") as stream:
db = yaml.load(stream, Loader=yaml.FullLoader)
Expand Down

0 comments on commit f406589

Please sign in to comment.