LearningRegistry/LearningRegistry — pull request #134 by jimklo (2011-11-16 01:54:16+00:00)
Title: Fix for issue #34 and some OAI-PMH test refactoring

Fixing issue where embedded DOCTYPE declarations within resource_data broke lxml's parser.

New test case added to validate that published data with and declarations in a variety of formats gets removed before processing.

Also refactored OAI-PMH tests by spliting into 2 classes:
* TestOaiPmhControllerSpecialData - each test uses unique test data
* TestOaiPmhController - all tests use the same test data which takes a long time to publish because of intentional time pauses inserted into tests.

And moved common validation functionality into it's own module in an effort to simplify the test implementation.

This also includes the fixes included in pull request #132