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

Method testLackOfString

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

Source from the content-addressed store, hash-verified

202 self.assertEquals(s.b.string, 'foo')
203
204 def testLackOfString(self):
205 s = BeautifulSoup("<b>f<i>e</i>o</b>")
206 self.assert_(not s.b.string)
207
208 def testStringAssign(self):
209 s = BeautifulSoup("<b></b>")

Callers

nothing calls this directly

Calls 1

BeautifulSoupClass · 0.90

Tested by

no test coverage detected