Ejemplo n.º 1
0
 def test_find_link_to_feed_without_link(self):
     html = """<html><head><link rel="stylesheet" href="foo.css" ></head></html>"""
     assert not find_link_to_feed(html)
Ejemplo n.º 2
0
 def test_find_link_to_feed_without_html(self):
     html = """this is totally not html \xe0 \x00>"""
     assert not find_link_to_feed(html)
Ejemplo n.º 3
0
 def test_find_link_to_feed_without_href(self):
     html = """<html><head><link rel="alternate" type="application/atom+xml"></head></html>"""
     assert not find_link_to_feed(html)