Skip to content

Commit

Permalink
Fixed TestCategorizedChildView.test__call__ now that height/width is …
Browse files Browse the repository at this point in the history
…forced to 16px in html template
  • Loading branch information
gbastien committed Aug 8, 2023
1 parent c79c102 commit 71b7ed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/collective/iconifiedcategory/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def test__call__(self):
# the category and elements of category is displayed
result = self.view()
self.assertTrue(
u'<img src="http://nohost/plone/config/group-1/category-1-1/@@images/{0}"'.format(scale)
in result)
u'<img width="16px" height="16px" src="{0}/@@images/{1}"'.format(
category.absolute_url(), scale) in result)

# remove the categorized elements
api.content.delete(self.portal['file_txt'])
Expand Down

0 comments on commit 71b7ed4

Please sign in to comment.