<s> import unittest <EOL> from django_inlines . inlines import Registry <EOL> from django_inlines . samples import YoutubeInline <EOL> class YoutubeTestCase ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> inlines = Registry ( ) <EOL> inlines . register ( '<STR_LIT>' , YoutubeInline ) <EOL> self . inlines = inlines <EOL> def testYoutubeInlines ( self ) : <EOL> IN = """<STR_LIT>""" <EOL> OUT = """<STR_LIT>""" <EOL> self . assertEqual ( self . inlines . process ( IN ) , OUT ) <EOL> IN = """<STR_LIT>""" <EOL> OUT = """<STR_LIT>""" <EOL> self . assertEqual ( self . inlines . process ( IN ) , OUT ) <EOL> IN = """<STR_LIT>""" <EOL> OUT = """<STR_LIT>""" <EOL> self . assertEqual ( self . inlines . process ( IN ) , OUT ) </s>
