#NEWLINE# def test_pub_type_for_electronic( self ) : #NEWLINE# #INDENT# dummy_journal = self . mocker . mock ( ) #NEWLINE# dummy_journal . scielo_issn #NEWLINE# self . mocker . result ( 'electronic' ) #NEWLINE# self . mocker . replay ( ) #NEWLINE# journalstd = self . _makeOne ( dummy_journal ) #NEWLINE# pub_type = journalstd . pub_type #NEWLINE# self . assertEqual ( pub_type , 'epub' ) #NEWLINE# self . assertIsInstance ( pub_type , unicode )