Removed unused constant and object from test_yadis_discovery.
Cleaned up mkResponse in test_yadis_discover
Extracted base_url to the module level.
Turned TestFetcher into a function, applying it with mock.patch
Replaced custom MockFetcher with a standard Mock.
Simplified status regex.
Generating test methods within a TestCase class instead of generating
test class instances and returning them in a custom suite.
Unbreaking test_yadis_discover within the main suite.
Cleanup in test_yadis_discover.

- Removed encoding declaration.
- Removed out of date docstring.
- Renamed mkResponse → make_response
Generate Discover test methods from a closure bound to current parameters.
Simplified comparison of DiscoveryResult samples.
More readable path parsing.
Call test fetch recursively on redirects instead of with a loop + state variable.
Fixed warnings from HTMLParser constructor.
Generalized checking of response.status in test fetch().