(self)
| 206 | self.assert_(not s.b.string) |
| 207 | |
| 208 | def testStringAssign(self): |
| 209 | s = BeautifulSoup("<b></b>") |
| 210 | b = s.b |
| 211 | b.string = "foo" |
| 212 | string = b.string |
| 213 | self.assertEquals(string, "foo") |
| 214 | self.assert_(isinstance(string, NavigableString)) |
| 215 | |
| 216 | class AllText(SoupTest): |
| 217 | "Tests the use of 'text' to get all of string content from the tag." |
nothing calls this directly
no test coverage detected