l.s.f.t.helper : module documentation

Part of lp.services.feeds.tests

Helper functions for testing feeds.
Interface IThing No interface docstring; 1/1 attributes documented
Class Thing Undocumented
Class ThingFeedView Undocumented
Function parse_entries Define a helper function for parsing feed entries.
Function parse_links Define a helper function for parsing feed links.
Function parse_ids Define a helper function for parsing ids.
Function validate_feed Validate the content of an Atom, RSS, or KML feed.
def parse_entries(contents):
Define a helper function for parsing feed entries.
def parse_links(contents, rel):
Define a helper function for parsing feed links.
def parse_ids(contents):
Define a helper function for parsing ids.
def validate_feed(content, content_type, base_uri):
Validate the content of an Atom, RSS, or KML feed. :param content: string containing xml feed :param content_type: Content-Type HTTP header :param base_uri: Feed URI for comparison with <link rel="self">

Prints formatted list of warnings and errors for use in doctests. No return value.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.