#NEWLINE# def proxy( self , factory = None ) : #NEWLINE# #INDENT# '\n        Return a new xmlrpc.Proxy for the test site created in\n        setUp(), using the given factory as the queryFactory, or\n        self.queryFactory if no factory is provided.\n        ' #NEWLINE# p = xmlrpc . Proxy ( ( 'http://127.0.0.1:%d/' % self . port ) ) #NEWLINE# if ( factory is None ) : #NEWLINE# #INDENT# p . queryFactory = self . queryFactory #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# p . queryFactory = factory #NEWLINE# #UNINDENT# return p