def test_simplestSite(self):
        sres1 = SimpleResource()
        sres2 = SimpleResource()
        sres1.putChild("",sres2)
        site = server.Site(sres1)
        self.assertIdentical(
            site.getResourceFor(DummyRequest([''])),
            sres2, "Got the wrong resource.")
Show all commands in cmdset when printing it.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_web.py/SiteTest.test_simplestSite--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/commands/cmdset.py/CmdSet.__str__