def test_soup_get_cls_method(): soup = Soup.get("www.google.com") if "<!doctype html>" not in str(soup).lower(): raise AssertionError
def test_soup_get_cls_method(): soup = Soup.get("www.google.com") assert "<!doctype html>" in str(soup).lower()