diff --git a/apps/devhub/templates/devhub/addons/listing/macros.html b/apps/devhub/templates/devhub/addons/listing/macros.html index 22dd728571..ced400c3f9 100644 --- a/apps/devhub/templates/devhub/addons/listing/macros.html +++ b/apps/devhub/templates/devhub/addons/listing/macros.html @@ -3,7 +3,7 @@ {% macro dev_heading(addon, amo) %}

{% set is_complete = not addon.is_incomplete() %} - {% if is_complete %}{% endif %} + {% if is_complete %}{% endif %} {{ addon.name }}{% if is_complete %}{% endif %}

diff --git a/apps/devhub/tests/test_views.py b/apps/devhub/tests/test_views.py index 8c8fe5d4eb..447085a244 100644 --- a/apps/devhub/tests/test_views.py +++ b/apps/devhub/tests/test_views.py @@ -267,7 +267,7 @@ class TestDashboard(HubTest): eq_(addon.status, amo.STATUS_PUBLIC) doc = pq(self.client.get(self.url).content) item = doc('.item[data-addonid=%s]' % addon.id) - assert item.find('h3 a'), 'Expected link to add-on' + eq_(item.find('h3 a').attr('href'), addon.get_dev_url()) assert item.find('p.downloads'), 'Expected weekly downloads' assert item.find('p.users'), 'Expected ADU' assert item.find('.price'), 'Expected price'