def test_optionDefaults(self):
        config = tap2rpm.MyOptions()
        config.parseOptions([])

        self.assertEquals(config['tapfile'], 'twistd.tap')
        self.assertEquals(config['maintainer'], 'tap2rpm')
        self.assertEquals(config['protocol'], 'twistd')
        self.assertEquals(config['description'], 'A TCP server for twistd')
        self.assertEquals(config['long_description'],
                'Automatically created by tap2rpm')
        self.assertEquals(config['set-version'], '1.0')
        self.assertEquals(config['rpmfile'], 'twisted-twistd')
        self.assertEquals(config['type'], 'tap')
        self.assertEquals(config['quiet'], False)
        self.assertEquals(config['twistd_option'], 'file')
        self.assertEquals(config['release-name'], 'twisted-twistd-1.0')
Call all the functions that have been registered to enter replay mode.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/scripts/test/test_tap2rpm.py/TestTap2RPM.test_optionDefaults--crossover with--dataset/ETHPy150Open chromium/web-page-replay/servermanager.py/ServerManager.SetReplayMode