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 dd50ddb commit 85522eb
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ We broke down into multiple packages to make it easier for developers to contrib

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].

[marcelometal]: https://www.flickr.com/photos/marcelometal/540719764/
[cc-by]: https://creativecommons.org/licenses/by/2.0/
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 85522eb

Please sign in to comment.