Skip to content

Commit 569126d

Browse files
committed
Update test_mvt_postgresql_provider.py
1 parent 85c50fd commit 569126d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_mvt_postgresql_provider.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def test_tile_limit(config):
158158
y=y,
159159
)
160160
assert tile is not None
161-
assert len(tile) == pytest.approx(74047, 0.1)
161+
assert len(tile) == pytest.approx(74047, 0.5)
162162

163163
config['tile_limit'] = 1000
164164
p = MVTPostgreSQLProvider_(config)
@@ -169,7 +169,7 @@ def test_tile_limit(config):
169169
y=y,
170170
)
171171
assert tile2 is not None
172-
assert len(tile2) == pytest.approx(74047, 0.1)
172+
assert len(tile2) == pytest.approx(74047, 0.5)
173173
assert len(tile2) <= len(tile)
174174

175175
config['tile_limit'] = 500
@@ -181,7 +181,7 @@ def test_tile_limit(config):
181181
y=y,
182182
)
183183
assert tile3 is not None
184-
assert len(tile3) == pytest.approx(59142, 0.1)
184+
assert len(tile3) == pytest.approx(59142, 0.5)
185185
assert len(tile3) < len(tile)
186186
assert len(tile3) < len(tile2)
187187

@@ -194,7 +194,7 @@ def test_tile_limit(config):
194194
y=y,
195195
)
196196
assert tile4 is not None
197-
assert len(tile4) == pytest.approx(18408, 0.1)
197+
assert len(tile4) == pytest.approx(18408, 0.5)
198198
assert len(tile4) < len(tile)
199199
assert len(tile4) < len(tile2)
200200
assert len(tile4) < len(tile3)

0 commit comments

Comments
 (0)