Beispiel #1
0
 def testRejectConvenience(self):
     """should be a Reject with reason Busy"""
     r = Response()
     r.addReject(reason='busy')
     r = self.strip(r)
     self.assertEquals(r, '<?xml version="1.0" encoding="utf-8"?><Response><Reject reason="busy" /></Response>')