#NEWLINE# def testExistKey__get( self ) : #NEWLINE# #INDENT# ' ExtRegistry.get: returns ((key, callable return value), type_dict)\n            tuple for existing key.\n            ' #NEWLINE# self . registry . _actions [ 'foo' ] = ( lambda : 'blah' ) #NEWLINE# t = { #NEWLINE# #INDENT# 'a' : 1 , #NEWLINE# 'b' : 2 , #NEWLINE# 'c' : 3 , #NEWLINE# #UNINDENT# } #NEWLINE# self . registry . _type_info [ 'foo' ] = t #NEWLINE# self . assertEqual ( self . registry . get ( 'foo' ) , ( 'blah' , t ) )