Skip to content

Commit

Permalink
fixed up unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrant committed Mar 11, 2014
1 parent c21ac6e commit 2faa81a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions links/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ def test_owned_by(self):

class LinkTest(TestCase):
def test_unicode(self):
link = mommy.make('Link')
self.assertEquals(unicode(link), link.title)

url = mommy.make('Url')
link = mommy.make('Link', url=url)
self.assertEquals(unicode(link), link.title + ', ' + unicode(url))

class MagicTokenTest(TestCase):
def test_create(self):
Expand Down

0 comments on commit 2faa81a

Please sign in to comment.