def test_append(): '''test append method''' ANS = 2 e = Element("foo") e.append("bar") result = e.get_content() assert result is ANS
def test_content(): ''' test the content list ''' ANS = 1 e = Element("foo") e1 = Element("bar") result = e.get_content() assert result is ANS