Skip to content

Commit

Permalink
Replace images with unknown authors
Browse files Browse the repository at this point in the history
Replace bend.png with bug.png
  • Loading branch information
marcelometal committed Oct 29, 2023
1 parent 75d276a commit d46404a
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,13 @@ For example, the mozjpeg optimizer is released on the package
`thumbor-plugins-mozjpeg`, and the Gifv one on the package
`thumbor-plugins-gifv`.


## Third Party

Integration tests uses a bug.png picture by [Marcelo Jorge Vieira][marcelometal]
licensed under [CC-BY][cc-by].

[cc-by]: https://creativecommons.org/licenses/by/2.0/
[contributing]: https://github.com/thumbor/thumbor-plugins/blob/master/CONTRIBUTING.md
[marcelometal]: https://www.flickr.com/photos/marcelometal/540719764/
[thumbor]: https://github.com/thumbor/thumbor
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class OptiPNG(EngineCase):

@gen_test(timeout=30)
async def test_optipng(self):
result = await self.http_client.fetch(self.get_url("/unsafe/bend.png"))
self.assert_result_smaller_than_original(result, "bend.png")
result = await self.http_client.fetch(self.get_url("/unsafe/bug.png"))
self.assert_result_smaller_than_original(result, "bug.png")
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class PNGCrush(EngineCase):

@gen_test
async def test_pngcrush(self):
result = await self.http_client.fetch(self.get_url("/unsafe/bend.png"))
self.assert_result_smaller_than_original(result, "bend.png")
result = await self.http_client.fetch(self.get_url("/unsafe/bug.png"))
self.assert_result_smaller_than_original(result, "bug.png")
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class PNGQuantTest(EngineCase):

@gen_test
async def test_pngquant(self):
result = await self.http_client.fetch(self.get_url("/unsafe/bend.png"))
self.assert_result_smaller_than_original(result, "bend.png")
result = await self.http_client.fetch(self.get_url("/unsafe/bug.png"))
self.assert_result_smaller_than_original(result, "bug.png")

0 comments on commit d46404a

Please sign in to comment.