コード例 #1
0
    def test_construction(self):

        # Should be able to construct normally
        # Note: not testing the stylesheet attribute because this is highly broken
        try:
            ds = DocumentSchema(type=self.internal_schema_name,
                                stylesheet=None,
                                internal_p=False)
        except:
            self.fail(
                'Unable to construct documentschema with standard arguments')