MCPcopy Create free account
hub / github.com/clips/pattern / testFindAllText

Method testFindAllText

pattern/web/soup/BeautifulSoupTests.py:82–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 self.assertEqual(len(matching), 4)
81
82 def testFindAllText(self):
83 soup = BeautifulSoup("<html>\xbb</html>")
84 self.assertEqual(soup.findAll(text=re.compile('.*')),
85 [u'\xbb'])
86
87 def testFindAllByRE(self):
88 import re

Callers

nothing calls this directly

Calls 2

BeautifulSoupClass · 0.90
findAllMethod · 0.80

Tested by

no test coverage detected