コード例 #1
0
 def setUp(self):
     self.errorOccurred = False
     self.streamStarted = False
     self.streamEnded = False
     self.outlist = []
     self.xmlstream = xmlstream.XmlStream()
     self.xmlstream.transport = self
     self.xmlstream.transport.write = self.outlist.append
コード例 #2
0
 def setUp(self):
     self.connectionLostMsg = "no reason"
     self.outlist = []
     self.xmlstream = xmlstream.XmlStream()
     self.xmlstream.transport = self
     self.xmlstream.transport.write = self.outlist.append
コード例 #3
0
 def setUp(self):
     self.outlist = []
     self.xmlstream = xmlstream.XmlStream()
     self.xmlstream.transport = self
     self.xmlstream.transport.write = self.outlist.append