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