def test_with_arg(self):
        self.protocol.answers.append('''info/names=
multi/path/arg/* a documentation string
''')
        info = TorInfo(self.protocol)
        self.assertTrue(hasattr(info, 'multi'))
        self.assertTrue(hasattr(getattr(info, 'multi'), 'path'))
        self.assertTrue(
            hasattr(getattr(getattr(info, 'multi'), 'path'), 'arg')
        )

        # FIXME should have a test that "really" goes out through
        # TorControlProtocol instance for this stuff...
        # TorControlProtocol now strips the OK line...
        self.protocol.answers.append('multi/path/arg/quux=\nbar\nbaz\nquux')

        try:
            info.multi.path.arg()
            self.assertTrue(False)
        except __HOLE__:
            pass

        d = info.multi.path.arg('quux')
        d.addCallback(CheckAnswer(self, 'bar\nbaz\nquux'))
        return d
dataset/ETHPy150Open meejah/txtorcon/test/test_torinfo.py/InfoTests.test_with_arg