def test_hostname(self):
        opt = tap.Options()
        opt.parseOptions(['--hostname', 'myhost'])
        self.assertEquals(opt['hostname'], 'myhost')
Execute action by relative registered function.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_tap.py/WordsTap.test_hostname--crossover with--dataset/ETHPy150Open KKBOX/mass/mass/scheduler/worker.py/BaseWorker.execute