'Tag.string = \'string\''

def test_string_set(self):

    soup = self.soup('<a></a>    <b><c></c></b>')
    soup.a.string = 'foo'
    self.assertEqual(soup.a.contents, ['foo'])
    soup.b.string = 'bar'
    self.assertEqual(soup.b.contents, ['bar'])
