#NEWLINE# def test_load_mappings_from_json_string( self ) : #NEWLINE# #INDENT# js = '{"test": {"css": "div"}}' #NEWLINE# self . fetcher . load_mappings_from_file ( js ) #NEWLINE# self . assertEquals ( self . fetcher . mappings [ 'test' ] , { #NEWLINE# #INDENT# 'css' : 'div' , #NEWLINE# #UNINDENT# } )