doolin/patentprocessor — pull request #3 by alvinchang (2012-06-01 01:16:24+00:00)
Title: Changes to test_xml_patent.py, xml_patent.py

Added more robustness to unit-testing. Now tests the heading tag as well as the child tag, so that the unit-test shows the validity of the field, (for ex. grant_app_date is located under .... grant_app_date . The xml presence test now checks for this as well.

Added a few more xml fixtures that previously didn't work. Changed XMLPatent() to account for these fringe patents. The unit-testing also accounts for the fringe patents as well.

Currently all the patents (10 working, 10 previously non-working) both pass all tests, but that may change in the future.

Going to implement logging next.