(self)
| 198 | "Tests the use of 'string' as an alias for a tag's only content." |
| 199 | |
| 200 | def testString(self): |
| 201 | s = BeautifulSoup("<b>foo</b>") |
| 202 | self.assertEquals(s.b.string, 'foo') |
| 203 | |
| 204 | def testLackOfString(self): |
| 205 | s = BeautifulSoup("<b>f<i>e</i>o</b>") |
nothing calls this directly
no test coverage detected