def test_dump_statement(self): for statement in self.__statement: t = Attribute(statement) self.assertEqual(t.dump_statement(), 'attribute name;')