def test_for_single_site(self): siteInfo = [ url_a, [ url_b, url_c ] ] links = determine_from_links( [ siteInfo ] ) expected = [ [ url_b, [ url_a ] ], [ url_c, [ url_a ] ] ] assert links == expected
def test_for_empty(self): links = determine_from_links([]) assert links == []