def METHOD_NAME(rss_feed_content, rss_schema):
    """
    A testcase to check if the generated feed is valid.
    Validation can be tested with W3 FEED Validator that can be found
    at http://feedvalidator.org
    """
    document = etree.parse(StringIO(rss_feed_content))
    assert rss_schema.validate(document)