Parse the given text and make sure its string rep is the other given text.
(self, toParse, rep=None, c=BeautifulSoup)
| 11 | class SoupTest(unittest.TestCase): |
| 12 | |
| 13 | def assertSoupEquals(self, toParse, rep=None, c=BeautifulSoup): |
| 14 | """Parse the given text and make sure its string rep is the other |
| 15 | given text.""" |
| 16 | if rep == None: |
| 17 | rep = toParse |
| 18 | self.assertEqual(str(c(toParse)), rep) |
| 19 | |
| 20 | |
| 21 | class FollowThatTag(SoupTest): |
no test coverage detected