#NEWLINE# def test_issue_meta( self ) : #NEWLINE# #INDENT# dummy_journal = self . mocker . mock ( ) #NEWLINE# dummy_journal . short_title #NEWLINE# self . mocker . result ( 'blitz' ) #NEWLINE# dummy_journal . scielo_issn #NEWLINE# self . mocker . result ( 'print' ) #NEWLINE# dummy_journal . print_issn #NEWLINE# self . mocker . result ( '1234-1234' ) #NEWLINE# self . mocker . replay ( ) #NEWLINE# l10nahead = self . _makeOne ( dummy_journal , '2012' , 'en' ) #NEWLINE# expected_issue_meta = 'blitz;;;ahead;;20120000;1234-1234;1' #NEWLINE# self . assertEqual ( l10nahead . ahead_meta , expected_issue_meta )