def __str__(self,wresource=1):
        if self.node: jid=self.node+'@'+self.domain
        else: jid=self.domain
        if wresource and self.resource: return jid+'/'+self.resource
        return jid
Test _PutFiles
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/JID.__str__--crossover with--dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/buildtest/buildtest.py/PutFilesTest.testPutFilesTest1