Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/odf/manifest.py: 64%

14 statements  

« prev     ^ index     » next       coverage.py v6.4.4, created at 2023-07-17 14:22 -0600

1#!/usr/bin/python 

2# -*- coding: utf-8 -*- 

3# Copyright (C) 2006-2007 Søren Roug, European Environment Agency 

4# 

5# This library is free software; you can redistribute it and/or 

6# modify it under the terms of the GNU Lesser General Public 

7# License as published by the Free Software Foundation; either 

8# version 2.1 of the License, or (at your option) any later version. 

9# 

10# This library is distributed in the hope that it will be useful, 

11# but WITHOUT ANY WARRANTY; without even the implied warranty of 

12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 

13# Lesser General Public License for more details. 

14# 

15# You should have received a copy of the GNU Lesser General Public 

16# License along with this library; if not, write to the Free Software 

17# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 

18# 

19# Contributor(s): 

20# 

21# 

22 

23import sys, os.path 

24sys.path.append(os.path.dirname(__file__)) 

25 

26from odf.namespaces import MANIFESTNS 

27from odf.element import Element 

28 

29# Autogenerated 

30def Manifest(**args): 

31 return Element(qname = (MANIFESTNS,'manifest'), **args) 

32 

33def FileEntry(**args): 

34 return Element(qname = (MANIFESTNS,'file-entry'), **args) 

35 

36def EncryptionData(**args): 

37 return Element(qname = (MANIFESTNS,'encryption-data'), **args) 

38 

39def Algorithm(**args): 

40 return Element(qname = (MANIFESTNS,'algorithm'), **args) 

41 

42def KeyDerivation(**args): 

43 return Element(qname = (MANIFESTNS,'key-derivation'), **args)