nose-devs/nose — Issue #376: assert_xml_equivalent (feature request)
Author: jpellerin
Created: 2011-12-14 16:09:30+00:00
State: open

(Warning: This may be out of scope for Nose proper.)

In the tradition of assert_almost_equal and friends in the nose.tools module, I'd find 'assert_xml_equivalent' to be useful. As linked below,
something like the code from FormEncode might be useful for it.

Pluses:

+ like assert_almost_equal, takes a tedious and hard to get right
testing task, and centralizes it to one place

Minues:

- depends on lxml (in this implementation)
- what is "equivalent" is undefined

I would be happy to take this one, if desired.

cf: http://stackoverflow.com/questions/3007330/xml-comparison-in-python

Google Code Info:
Issue #: 341
Author: gregg.l...@gmail.com
Created On: 2010-06-09T17:48:11.000Z
Closed On: