[Imps] Patch to convert test_parser to unittest

Sam Ruby rubys at intertwingly.net
Thu Dec 14 08:17:17 PST 2006


Two attachments: one to convert the existing test_parser.py to use 
unittset (this patch also includes some minor cleanup to 
test_tokenizer); and the other is a master script to run all tests 
(place this script in the tests directory).

As more tests are created, much of this code can be refactored further.

- Sam Ruby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unittest.diff
Type: text/x-patch
Size: 5675 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/implementors-whatwg.org/attachments/20061214/850ad6ab/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: runtests.py
Type: text/x-python
Size: 528 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/implementors-whatwg.org/attachments/20061214/850ad6ab/attachment-0002.py>


More information about the Implementors mailing list