def test_from_xml(self): self.assertEquals( type(String.from_string("<bad>good</bad>")), type(String) )