From 26c852b0d78e7746f2ff0a0f05493830ff80e6bd Mon Sep 17 00:00:00 2001 From: p013570 Date: Fri, 16 Jun 2017 08:04:46 +0100 Subject: [PATCH] gh-20 - test travis fails build if python fails --- python-shell/src/example.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python-shell/src/example.py b/python-shell/src/example.py index e56be3423..9d508e5ee 100755 --- a/python-shell/src/example.py +++ b/python-shell/src/example.py @@ -199,11 +199,12 @@ def add_elements(gc): } ), g.Edge( - group='RoadHasJunction', + # TODO remove this deliberate typo + group='Unknown group!', source='M1', destination='M1:1', directed=True, - properties={} + property={} ) ] ) @@ -228,7 +229,8 @@ def get_elements(gc): view=g.View( edges=[ g.ElementDefinition( - group='RoadUse', + # TODO remove this deliberate typo + group='Unknown group!', transient_properties=[ g.Property('description', 'java.lang.String') ],