<s> from unittest import TestCase <EOL> from muntjac . application import Application <EOL> from muntjac . ui . embedded import Embedded <EOL> from muntjac . terminal . class_resource import ClassResource <EOL> class TestMimeTypes ( TestCase ) : <EOL> def testEmbeddedPDF ( self ) : <EOL> class app ( Application ) : <EOL> def init ( self ) : <EOL> pass <EOL> e = Embedded ( '<STR_LIT>' , ClassResource ( '<STR_LIT>' , app ( ) ) ) <EOL> self . assertEquals ( '<STR_LIT>' , e . getMimeType ( ) , <EOL> '<STR_LIT>' ) <EOL> e = Embedded ( '<STR_LIT>' , ClassResource ( '<STR_LIT>' , app ( ) ) ) <EOL> self . assertEquals ( '<STR_LIT>' , e . getMimeType ( ) , <EOL> '<STR_LIT>' ) </s>
