Ejemplo n.º 1
0
 def setUp(self):
     self.testrun_id = 666
    
     self.client = ResponseClient("localhost", 666)
     self.conn = ConnectionStub()
     self.channel = ChannelStub()
     self.client.conn = self.conn
     self.client.channel = self.channel
Ejemplo n.º 2
0
 def test_predefined_response_queue(self):
     queue = "test_queue1"
     another_client = ResponseClient("localhost", 666, queue)
     self.assertEquals(another_client.response_queue, queue)