From 3bbd7a8e56ce08ec43e14ed47ae12a41360a11b8 Mon Sep 17 00:00:00 2001 From: James Joyce Date: Fri, 23 Sep 2016 14:55:45 +0200 Subject: [PATCH] updated test for ecoinvent3.3 location compatability --- tests/locations/topology.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/locations/topology.py b/tests/locations/topology.py index 44850a7..a1b1b1d 100644 --- a/tests/locations/topology.py +++ b/tests/locations/topology.py @@ -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')