def test_protocolOverride(self):
        basename = "acorn"
        protocol = "banana"

        # Create RPMs based on a TAP file with this name.
        rpm, srpm = _makeRPMs(tapfile=self._makeTapFile(basename),
                protocol=protocol)

        # Verify the resulting RPMs have the correct tags.
        d = self._verifyRPMTags(rpm,
                NAME=["twisted-%s" % (protocol,)],
                SUMMARY=["A TCP server for %s" % (protocol,)],
            )
        d.addCallback(lambda _: self._verifyRPMTags(srpm,
                NAME=["twisted-%s" % (protocol,)],
                SUMMARY=["A TCP server for %s" % (protocol,)],
            ))

        return d
.. versionadded:: 0.17.0
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/scripts/test/test_tap2rpm.py/TestTap2RPM.test_protocolOverride--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/replace