#NEWLINE# def test_get_known_keys( self ) : #NEWLINE# #INDENT# proxies = [ mock . Mock ( ) , mock . Mock ( ) ] #NEWLINE# for mock_proxy in proxies : #NEWLINE# #INDENT# self . namespace . register_proxy ( mock_proxy ) #NEWLINE# #UNINDENT# expected = set ( [ mock_proxy . config_key for mock_proxy in proxies ] ) #NEWLINE# assert_equal ( self . namespace . get_known_keys ( ) , expected )