Skip to content

Commit

Permalink
fix spaces in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 11, 2023
1 parent 41bfbc4 commit 71a3d39
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 me-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 me-1" aria-hidden="true"></i>'
"<span>1</span>"
Expand Down

0 comments on commit 71a3d39

Please sign in to comment.