Skip to content

Commit

Permalink
updated test for ecoinvent3.3 location compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
pjamesjoyce committed Sep 23, 2016
1 parent 22c9750 commit 3bbd7a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/locations/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ def test_topology_intersects():
assert topology.intersects('RoW') == set()
# Test compatibility labels
assert topology.intersects('IAI Area 8')
# Test new Ecoinvent 3.3 compatablility labels
assert topology.intersects('IAI Area, Asia, without China and GCC')
assert topology.intersects('IAI Area, Gulf Cooperation Council')

with pytest.raises(KeyError):
topology.intersects('foo')

Expand Down

0 comments on commit 3bbd7a8

Please sign in to comment.