I'm trying to create a unittest where one can find body tags within html tag, I've attempted to make the following test but I'm seeing a syntax error for some reason, I have properly set up Beautiful Soup, etc: for tag in soup.find_all(re.compile("""""")) count+=1 self.assertEqual(count,1)
Aucun commentaire:
Enregistrer un commentaire