#NEWLINE# def test_perfect_unicode_representation( self ) : #NEWLINE# #INDENT# dummy_issue = self . mocker . mock ( ) #NEWLINE# dummy_journal = self . mocker . mock ( ) #NEWLINE# dummy_issue . journal #NEWLINE# self . mocker . result ( dummy_journal ) #NEWLINE# dummy_journal . title_iso #NEWLINE# self . mocker . result ( 'Star Wars' ) #NEWLINE# dummy_issue . volume #NEWLINE# self . mocker . result ( '33' ) #NEWLINE# dummy_issue . identification #NEWLINE# self . mocker . result ( '3' ) #NEWLINE# dummy_issue . publication_year #NEWLINE# self . mocker . result ( 2012 ) #NEWLINE# dummy_issue . publication_start_month #NEWLINE# self . mocker . result ( 3 ) #NEWLINE# dummy_issue . publication_end_month #NEWLINE# self . mocker . result ( 5 ) #NEWLINE# dummy_issue . order #NEWLINE# self . mocker . result ( 7 ) #NEWLINE# self . mocker . replay ( ) #NEWLINE# expected_result = 'Star Wars v.33 n.3\r\nMar/May\r\n20127\r\n\r\n' #NEWLINE# issue = self . _makeOne ( expected_result ) #NEWLINE# self . assertEqual ( unicode ( issue ) , expected_result )