Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
and revert tests too (bug 670167)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Jul 13, 2011
1 parent 972e262 commit c202be6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/addons/tests/test_views.py
Expand Up @@ -412,7 +412,7 @@ def test_roadblock_title(self):
def test_meet_the_dev_src(self):
r = self.client.get(reverse('addons.meet', args=['a11730']))
button = pq(r.content)('.install-button a.button').attr('href')
assert button.endswith('?src=meet-developers'), button
assert button.endswith('?src=developers'), button

def test_nl2br_info(self):
r = self.client.get(reverse('addons.meet', args=['a228106']))
Expand Down Expand Up @@ -455,7 +455,7 @@ def test_roadblock_src(self):
url = reverse('addons.roadblock', args=['a11730'])
r = self.client.get(url)
button = pq(r.content)('.install-button a.button').attr('href')
assert button.endswith('?src=roadblock'), button
assert button.endswith('?src=meetthedeveloper_roadblock'), button

def test_roadblock_different(self):
url = reverse('addons.roadblock', args=['a11730']) + '?src=addondetail'
Expand Down

0 comments on commit c202be6

Please sign in to comment.