Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark troublesome encodings with xfail #44

Merged
merged 2 commits into from
Aug 30, 2022
Merged

Conversation

banesullivan
Copy link
Contributor

@codecov
Copy link

codecov bot commented Aug 30, 2022

Codecov Report

Merging #44 (9473375) into main (a753217) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   95.58%   95.58%           
=======================================
  Files          16       16           
  Lines         679      679           
=======================================
  Hits          649      649           
  Misses         30       30           

Comment on lines -38 to 39
source = self.get_tile_source(request, pk)
source = self.get_tile_source(request, pk, encoding=encoding)
thumb_data, mime_type = source.getThumbnail(encoding=encoding, width=width, height=height)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manthey, should we open an image with the same encoding as we are requesting for the thumbnail? Or should this not matter? What do you recommend?

@banesullivan banesullivan merged commit 87f474f into main Aug 30, 2022
@banesullivan banesullivan deleted the patch/test-encodings branch August 30, 2022 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant