Skip to content

Commit 50db212

Browse files
committed
test: update to imagepyramid
1 parent 9e342c4 commit 50db212

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

integration_tests/test_stack_integrated.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def render():
3232

3333
@pytest.fixture
3434
def simpletilespec():
35-
mml = renderapi.image_pyramid.MipMapLevel(0, '/not/a/path.jpg')
35+
mm = renderapi.image_pyramid.MipMap(imageUrl='file://not/a/path.jpg')
36+
ip = renderapi.image_pyramid.ImagePyramid({0: mm})
3637
tform = renderapi.transform.AffineModel(labels=['simple'])
3738
layout = renderapi.tilespec.Layout(sectionId="section0",
3839
scopeId="testscope",
@@ -45,7 +46,7 @@ def simpletilespec():
4546
ts = renderapi.tilespec.TileSpec(tileId="1000",
4647
width=2048,
4748
height=2048,
48-
mipMapLevels=[mml],
49+
imagePyramid=ip,
4950
z=0,
5051
tforms=[tform],
5152
layout=layout)

0 commit comments

Comments
 (0)