Skip to content

Commit

Permalink
Improve test.
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Aug 5, 2022
1 parent 3eddcc0 commit 8f36e91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_source_gdal.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@ def testNoData():
source = large_image_source_gdal.open(
imagePath, projection='EPSG:3857',
style={'bands': [{'band': 1, 'max': '100', 'min': '5', 'nodata': '0'}]})
assert source.getThumbnail()[0] is not None
assert source.getThumbnail()[0]
source = large_image_source_gdal.open(
imagePath, projection='EPSG:3857',
style={'bands': [{'band': 1, 'max': 100, 'min': 5, 'nodata': 0}]})
assert source.getThumbnail()[0] is not None
assert source.getThumbnail()[0]

0 comments on commit 8f36e91

Please sign in to comment.