[Twisted-Python] trial testing messages

Gabriel Rossetti gabriel.rossetti at arimaz.com
Wed Nov 19 07:43:36 MST 2008


Hello,

I am writing unit tests using trial. I am trying to make sure that the 
received messages are processed correctly and the output messages are 
correct. I tried using toXml(), but the XML attributes aren't 
necessaraly in the correct order, so a string comparison doesn't work. I 
had originally submitted a patch to allow domish.Element to be compared 
(ticket #3344), but my patch isn't liked. So my question is, how may I 
test this?

Thank you,
Gabriel




More information about the Twisted-Python mailing list