From 2df67bbb8eb711ca4cd43a0ed2beefd3a370d91b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 21 2016 09:05:02 +0000 Subject: Fix running the unit-tests with the changes to the commits view --- diff --git a/pagure/templates/commits.html b/pagure/templates/commits.html index d0013da..f45ae34 100644 --- a/pagure/templates/commits.html +++ b/pagure/templates/commits.html @@ -121,8 +121,13 @@
{% for commit in last_commits %} -
{% if diff_commits and commit.oid.hex in diff_commits %}
\n
', output.data) self.assertEqual( - output.data.count('class="list-group-item p-l-3"'), 2) + output.data.count('class="list-group-item"'), 2) @patch('pagure.lib.notify.send_email') def test_view_file(self, send_email):