Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalAngel committed Sep 13, 2016
1 parent 498bad9 commit c7cad4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion djangocms_link/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def get_link(self):
link += '#{}'.format(self.anchor)
# link can be empty if a page attached to it has been removed
if link == '':
link = '<link-is-missing>'
link = '<link is missing>'

return link

Expand Down
2 changes: 1 addition & 1 deletion tests/tests_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_link(self):
'en',
name='some text',
)
self.assertEqual(plugin.get_link(), '')
self.assertEqual(plugin.get_link(), '<link is missing>')
self.assertEqual(force_text(plugin), 'some text')

def test_render(self):
Expand Down

0 comments on commit c7cad4e

Please sign in to comment.