#NEWLINE# def test_loader_get_file( self ) : #NEWLINE# #INDENT# import pycorpora #NEWLINE# data = pycorpora . pycorpora_test . get_file ( 'test' ) #NEWLINE# self . assertEqual ( type ( data ) , dict ) #NEWLINE# self . assertEqual ( self [ 'tests' ] , [ 'one' , 'two' , 'three' ] ) #NEWLINE# subdata = pycorpora . pycorpora_test . subdir . get_file ( 'another_test' ) #NEWLINE# self . assertIsNotNone ( subdata ) #NEWLINE# self . assertEqual ( type ( data ) , dict ) #NEWLINE# self . assertEqual ( data [ 'tests' ] , [ 'one' , 'two' , 'three' ] )