Skip to content

Commit f5dafd3

Browse files
committed
more integ fixes
1 parent 47cf4ce commit f5dafd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

integration-test/1135-water-lines-merge.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_successful_merge(self):
2727
'name': 'foo',
2828
'kind': 'river',
2929
'label_placement': type(None),
30-
}, 1)
30+
}, 0)
3131

3232
with self.features_in_tile_layer(z, x, y, 'water') as features:
3333
for f in features:
@@ -66,7 +66,7 @@ def test_unsuccessful_merge_same_props(self):
6666
'name': 'foo',
6767
'kind': 'river',
6868
'label_placement': type(None),
69-
}, 1)
69+
}, 0)
7070

7171
with self.features_in_tile_layer(z, x, y, 'water') as features:
7272
for f in features:
@@ -106,11 +106,11 @@ def test_unsuccessful_merge_diff_props(self):
106106
z, x, y, 'water', {
107107
'kind': 'river',
108108
'label_placement': type(None),
109-
}, 2)
109+
}, 1)
110110

111111
with self.features_in_tile_layer(z, x, y, 'water') as features:
112112
for f in features:
113113
if 'label_placement' in f['properties']:
114114
continue
115-
assert f['geometry']['type'] == 'LineString'
115+
assert f['geometry']['type'] == 'MultiLineString'
116116
assert len(f['geometry']['coordinates']) == 2

0 commit comments

Comments
 (0)