Skip to content

Commit

Permalink
fix test (linter formatting)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 19, 2023
1 parent 58768c0 commit c2f5ac6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lacommunaute/forum/tests/tests_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,11 @@ def test_upvote_actions(self):
self.client.force_login(self.user)
no_upvote_html = (
'<button type="submit"'
'\n title="Sauvegarder"'
'\n class="btn btn-sm btn-ico btn-secondary matomo-event px-2"'
'\n data-matomo-category="engagement"'
'\n data-matomo-action="upvote"'
'\n data-matomo-option="post"'
'\n title="Sauvegarder"'
'\n class="btn btn-sm btn-ico btn-secondary matomo-event px-2"'
'\n data-matomo-category="engagement"'
'\n data-matomo-action="upvote"'
'\n data-matomo-option="post"'
"\n >"
'\n <i class="ri-bookmark-line mr-1" aria-hidden="true"></i>'
"<span>0</span>"
Expand All @@ -383,11 +383,11 @@ def test_upvote_actions(self):
child_forum.upvotes.create(voter=self.user)
upvoted_html = (
'<button type="submit"'
'\n title="Sauvegarder"'
'\n class="btn btn-sm btn-ico btn-secondary matomo-event px-2"'
'\n data-matomo-category="engagement"'
'\n data-matomo-action="upvote"'
'\n data-matomo-option="post"'
'\n title="Sauvegarder"'
'\n class="btn btn-sm btn-ico btn-secondary matomo-event px-2"'
'\n data-matomo-category="engagement"'
'\n data-matomo-action="upvote"'
'\n data-matomo-option="post"'
"\n >"
'\n <i class="ri-bookmark-fill mr-1" aria-hidden="true"></i>'
"<span>1</span>"
Expand Down

0 comments on commit c2f5ac6

Please sign in to comment.