Skip to content

Commit

Permalink
Merge branch 'beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo Fonseca committed Jul 29, 2016
2 parents 00a03d1 + 7485206 commit 5ac280f
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 73 deletions.
6 changes: 3 additions & 3 deletions scielomanager/export/markupfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ def __init__(self, issue):

@property
def legend(self):
return u'{0} v.{1} n.{2}'.format(self._issue.journal.title_iso,
unicode(self._issue.volume),
unicode(self._issue.identification))
return u'{0} v.{1} n.{2}'.format(self._issue.journal.short_title,
unicode(self._issue.volume),
unicode(self._issue.identification))

@property
def period(self):
Expand Down
4 changes: 2 additions & 2 deletions scielomanager/export/tests/tests_markupfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def test_legend(self):
dummy_issue.identification
self.mocker.result('3')

dummy_journal.title_iso
dummy_journal.short_title
self.mocker.result('Star Wars')

self.mocker.replay()
Expand Down Expand Up @@ -337,7 +337,7 @@ def test_perfect_unicode_representation(self):
dummy_issue.journal
self.mocker.result(dummy_journal)

dummy_journal.title_iso
dummy_journal.short_title
self.mocker.result('Star Wars')

dummy_issue.volume
Expand Down
Loading

0 comments on commit 5ac280f

Please sign in to comment.