def test_createOrGetApplicationWithTapFile(self):
        config = twistd.ServerOptions()
        config.parseOptions(['-f', self.tapfile])
        application = CrippledApplicationRunner(config).createOrGetApplication()
        self.assertEquals(service.IService(application).name, 'Hi!')
Ensure that the createOrGetApplication call that 'twistd -f foo.tap'
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_twistd.py/TapFileTest.test_createOrGetApplicationWithTapFile