<s> '''<STR_LIT>''' <EOL> import os <EOL> import unittest <EOL> import StringIO <EOL> import ngsutils . gtf . add_xref <EOL> gtf = os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT>' ) <EOL> xref = os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT>' ) <EOL> class GTFAddXrefTest ( unittest . TestCase ) : <EOL> def testAddXref ( self ) : <EOL> out = StringIO . StringIO ( '<STR_LIT>' ) <EOL> ngsutils . gtf . add_xref . gtf_add_xref ( gtf , xref , out = out , quiet = True ) <EOL> self . assertEquals ( out . getvalue ( ) . replace ( '<STR_LIT:\t>' , '<STR_LIT:|>' ) , '''<STR_LIT>''' ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
