'Parse the given text and make sure its string rep is the other
given text.'

def assertSoupEquals(self, toParse, rep=None, c=BeautifulSoup):

    if (rep == None):
        rep = toParse
    self.assertEqual(str(c(toParse)), rep)
