#NEWLINE# def test_protocolOverride( self ) : #NEWLINE# #INDENT# "\n        Setting 'protocol' should change the name of the resulting package.\n        " #NEWLINE# basename = 'acorn' #NEWLINE# protocol = 'banana' #NEWLINE# ( rpm , srpm ) = _makeRPMs ( tapfile = self . _makeTapFile ( basename ) , protocol = protocol ) #NEWLINE# d = self . _verifyRPMTags ( rpm , NAME = [ ( 'twisted-%s' % ( protocol , ) ) ] , SUMMARY = [ ( 'A TCP server for %s' % ( protocol , ) ) ] ) #NEWLINE# d . addCallback ( ( lambda _ : self . _verifyRPMTags ( srpm , NAME = [ ( 'twisted-%s' % ( protocol , ) ) ] , SUMMARY = [ ( 'A TCP server for %s' % ( protocol , ) ) ] ) ) ) #NEWLINE# return protocol