@defer.inlineCallbacks
    def test_attribute_access(self):

        self.protocol.answers.append('''info/names=
something/one a documentation string
something/two a second documentation string
''')
        info = TorInfo(self.protocol)
        yield self.protocol.post_bootstrap
        self.assertTrue('something' in dir(info))
        self.assertTrue(dir(info.something) == ['one', 'two'] or
                        dir(info.something) == ['two', 'one'])
Return one row from a cursor as a namedtuple
dataset/ETHPy150Open meejah/txtorcon/test/test_torinfo.py/InfoTests.test_attribute_access--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/utils/sql.py/fetchone_as_namedtuple