Skip to content

Commit

Permalink
don't depend on default settings so much
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalogh committed Jun 23, 2010
1 parent 16c9efc commit 8502b32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/bandwagon/tests/test_models.py
Expand Up @@ -26,8 +26,7 @@ def test_unicode(self):

def test_icon_url(self):
c = Collection.objects.get(pk=512)
eq_(settings.MEDIA_URL + 'img/amo2009/icons/collection.png',
c.icon_url)
assert c.icon_url.endswith('img/amo2009/icons/collection.png')

def test_author(self):
c = Collection.objects.get(pk=80)
Expand Down

0 comments on commit 8502b32

Please sign in to comment.