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

Commit

Permalink
cure test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Van committed Sep 1, 2011
1 parent aa22c76 commit 1b54fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/browse/tests.py
Expand Up @@ -448,7 +448,7 @@ def _check_feed(self, browse_url, rss_url, sort='featured'):
pg_item, rss_item = pq(pg_item), pq(rss_item)
pg_url = absolutify(pg_item.find('h3 a').attr('href'))
rss_url = rss_item.find('link').text()
eq_(pg_url, rss_url)
eq_(pg_url.split('?')[0], rss_url)
if sort in ('added', 'updated'):
# Check timestamps.
pg_ts = pg_item.find('.updated').text().strip('Added Updated')
Expand Down

0 comments on commit 1b54fb7

Please sign in to comment.