How to Parse XML in Python
I recently spent a few hours refactoring some of the backend code on this site. In changing the backend, I wanted to make sure the refactored code worked the same way as my old code. To do this, I wrote a unit test in Python that sent a request to every URL on my site running the old backend code and the corresponding URL with my local server running the new code, to make sure they worked exactly the same.
Tags: python, xml