def test_str(self):
        self.protocol.answers.append('''info/names=
version docstring
foo/* bar
''')
        info = TorInfo(self.protocol)

        # not the end of the world if this fails
        self.assertTrue(str(info.version) == "version()")
        self.assertTrue(str(info.foo) == "foo(arg)")
rather silly test to cover string creation
dataset/ETHPy150Open meejah/txtorcon/test/test_torinfo.py/InfoTests.test_str