[Checkins] SVN: z3c.rmldocument/trunk/ Initial import of work on z3c.rmldocument.

Christian Theune ct at gocept.com
Tue Mar 11 17:24:14 EDT 2008


Log message for revision 84592:
  Initial import of work on z3c.rmldocument.
  

Changed:
  A   z3c.rmldocument/trunk/
  A   z3c.rmldocument/trunk/.installed.cfg
  A   z3c.rmldocument/trunk/CHANGES.txt
  A   z3c.rmldocument/trunk/COPYRIGHT.txt
  A   z3c.rmldocument/trunk/LICENSE.txt
  A   z3c.rmldocument/trunk/README.txt
  A   z3c.rmldocument/trunk/bootstrap.py
  A   z3c.rmldocument/trunk/buildout.cfg
  A   z3c.rmldocument/trunk/setup.py
  A   z3c.rmldocument/trunk/src/
  A   z3c.rmldocument/trunk/src/z3c/
  A   z3c.rmldocument/trunk/src/z3c/__init__.py
  A   z3c.rmldocument/trunk/src/z3c/rmldocument/
  A   z3c.rmldocument/trunk/src/z3c/rmldocument/README.txt
  A   z3c.rmldocument/trunk/src/z3c/rmldocument/__init__.py
  A   z3c.rmldocument/trunk/src/z3c/rmldocument/document.py
  A   z3c.rmldocument/trunk/src/z3c/rmldocument/interfaces.py
  A   z3c.rmldocument/trunk/src/z3c/rmldocument/renderer.py
  A   z3c.rmldocument/trunk/src/z3c/rmldocument/tests.py

-=-
Added: z3c.rmldocument/trunk/.installed.cfg
===================================================================
--- z3c.rmldocument/trunk/.installed.cfg	                        (rev 0)
+++ z3c.rmldocument/trunk/.installed.cfg	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,39 @@
+[buildout]
+installed_develop_eggs = /home/ctheune/Development/z3c.rmldocument/develop-eggs/z3c.rmldocument.egg-link
+parts = test
+
+[test]
+__buildout_installed__ = /home/ctheune/Development/z3c.rmldocument/parts/test
+	/home/ctheune/Development/z3c.rmldocument/bin/test
+__buildout_signature__ = zc.recipe.testrunner-1.0.0-py2.4.egg zc.recipe.egg-1.0.0-py2.4.egg setuptools-0.6c8-py2.4.egg zope.testing-3.5.1-py2.4.egg zc.buildout-1.0.0-py2.4.egg zc.buildout-1.0.0-py2.4.egg
+_b = /home/ctheune/Development/z3c.rmldocument/bin
+_d = /home/ctheune/Development/z3c.rmldocument/develop-eggs
+_e = /home/ctheune/.eggs
+bin-directory = /home/ctheune/Development/z3c.rmldocument/bin
+develop-eggs-directory = /home/ctheune/Development/z3c.rmldocument/develop-eggs
+eggs = z3c.rmldocument
+eggs-directory = /home/ctheune/.eggs
+executable = /home/ctheune/local/python2.4/bin/python
+location = /home/ctheune/Development/z3c.rmldocument/parts/test
+recipe = zc.recipe.testrunner
+script = /home/ctheune/Development/z3c.rmldocument/bin/test
+
+[buildout]
+installed_develop_eggs = /home/ctheune/Development/z3c.rmldocument/develop-eggs/z3c.rmldocument.egg-link
+
+[buildout]
+parts = test
+
+[buildout]
+installed_develop_eggs = /home/ctheune/Development/z3c.rmldocument/develop-eggs/z3c.rml.egg-link
+	/home/ctheune/Development/z3c.rmldocument/develop-eggs/z3c.rmldocument.egg-link
+
+[buildout]
+parts = test
+
+[buildout]
+installed_develop_eggs = /home/ctheune/Development/z3c.rmldocument/develop-eggs/z3c.rml.egg-link
+	/home/ctheune/Development/z3c.rmldocument/develop-eggs/z3c.rmldocument.egg-link
+
+[buildout]
+parts = test

Added: z3c.rmldocument/trunk/CHANGES.txt
===================================================================
--- z3c.rmldocument/trunk/CHANGES.txt	                        (rev 0)
+++ z3c.rmldocument/trunk/CHANGES.txt	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,8 @@
+=======
+CHANGES
+=======
+
+0.1 (unreleased)
+----------------
+
+- Initial release


Property changes on: z3c.rmldocument/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/COPYRIGHT.txt
===================================================================
--- z3c.rmldocument/trunk/COPYRIGHT.txt	                        (rev 0)
+++ z3c.rmldocument/trunk/COPYRIGHT.txt	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,9 @@
+Copyright (c) 2008 Zope Foundation and contributors.
+All Rights Reserved.
+
+This software is subject to the provisions of the Zope Public License,
+Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+FOR A PARTICULAR PURPOSE.


Property changes on: z3c.rmldocument/trunk/COPYRIGHT.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/LICENSE.txt
===================================================================
--- z3c.rmldocument/trunk/LICENSE.txt	                        (rev 0)
+++ z3c.rmldocument/trunk/LICENSE.txt	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,44 @@
+Zope Public License (ZPL) Version 2.1
+
+A copyright notice accompanies this license document that identifies the
+copyright holders.
+
+This license has been certified as open source. It has also been designated as
+GPL compatible by the Free Software Foundation (FSF).
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions in source code must retain the accompanying copyright
+notice, this list of conditions, and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the accompanying copyright
+notice, this list of conditions, and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3. Names of the copyright holders must not be used to endorse or promote
+products derived from this software without prior written permission from the
+copyright holders.
+
+4. The right to distribute this software or to use it for any purpose does not
+give you the right to use Servicemarks (sm) or Trademarks (tm) of the copyright
+holders. Use of them is covered by separate agreement with the copyright
+holders.
+
+5. If any files are modified, you must cause the modified files to carry
+prominent notices stating that you changed the files and the date of any
+change.
+
+Disclaimer
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
+OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+


Property changes on: z3c.rmldocument/trunk/LICENSE.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/README.txt
===================================================================
--- z3c.rmldocument/trunk/README.txt	                        (rev 0)
+++ z3c.rmldocument/trunk/README.txt	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,9 @@
+=======================================================
+z3c.rmldocument -- User-editable RML for PDF generation
+=======================================================
+
+Provides a document object that has user-editable blocks of RML within a
+defined RML template.
+
+Also provides a UI widget for editing an RML subset and choose fields that
+should get dynamically embedded.


Property changes on: z3c.rmldocument/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/bootstrap.py
===================================================================
--- z3c.rmldocument/trunk/bootstrap.py	                        (rev 0)
+++ z3c.rmldocument/trunk/bootstrap.py	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,52 @@
+##############################################################################
+#
+# Copyright (c) 2007 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Bootstrap a buildout-based project
+
+Simply run this script in a directory containing a buildout.cfg.
+The script accepts buildout command-line options, so you can
+use the -c option to specify an alternate configuration file.
+
+$Id: bootstrap.py 73964 2007-04-01 18:58:20Z srichter $
+"""
+
+import os, shutil, sys, tempfile, urllib2
+
+tmpeggs = tempfile.mkdtemp()
+
+ez = {}
+exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
+                     ).read() in ez
+ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
+
+import pkg_resources
+
+cmd = 'from setuptools.command.easy_install import main; main()'
+if sys.platform == 'win32':
+    cmd = '"%s"' % cmd # work around spawn lamosity on windows
+
+ws = pkg_resources.working_set
+assert os.spawnle(
+    os.P_WAIT, sys.executable, sys.executable,
+    '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
+    dict(os.environ,
+         PYTHONPATH=
+         ws.find(pkg_resources.Requirement.parse('setuptools')).location
+         ),
+    ) == 0
+
+ws.add_entry(tmpeggs)
+ws.require('zc.buildout')
+import zc.buildout.buildout
+zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
+shutil.rmtree(tmpeggs)


Property changes on: z3c.rmldocument/trunk/bootstrap.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/buildout.cfg
===================================================================
--- z3c.rmldocument/trunk/buildout.cfg	                        (rev 0)
+++ z3c.rmldocument/trunk/buildout.cfg	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,7 @@
+[buildout]
+parts = test 
+develop = . ../z3c.rml/
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = z3c.rmldocument

Added: z3c.rmldocument/trunk/setup.py
===================================================================
--- z3c.rmldocument/trunk/setup.py	                        (rev 0)
+++ z3c.rmldocument/trunk/setup.py	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,51 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup
+"""
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+setup (
+    name='z3c.rmldocument',
+    version='0.1dev',
+    author = "Christian Theune and the Zope Community",
+    author_email = "zope3-dev at zope.org",
+    description = "User-editable RML documents",
+    long_description=(
+        read('README.txt')
+        + '\n\n' +
+        read('CHANGES.txt')
+        ),
+    license = "ZPL 2.1",
+    keywords = "zope3 rml reportlab pdf pagetemplate",
+    classifiers = [
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: Zope Public License',
+        'Programming Language :: Python',
+        'Natural Language :: English',
+        'Operating System :: OS Independent'],
+    url = 'http://cheeseshop.python.org/pypi/z3c.rmldocument',
+    packages = find_packages('src'),
+    package_dir = {'':'src'},
+    namespace_packages = ['z3c'],
+    install_requires = [
+        'z3c.rml',
+        'setuptools',
+        ],
+    include_package_data = True,
+    zip_safe = False,
+    )


Property changes on: z3c.rmldocument/trunk/setup.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/src/z3c/__init__.py
===================================================================
--- z3c.rmldocument/trunk/src/z3c/__init__.py	                        (rev 0)
+++ z3c.rmldocument/trunk/src/z3c/__init__.py	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,8 @@
+# this is a namespace package
+try:
+    import pkg_resources
+    pkg_resources.declare_namespace(__name__)
+except ImportError:
+    import pkgutil
+    __path__ = pkgutil.extend_path(__path__, __name__)
+


Property changes on: z3c.rmldocument/trunk/src/z3c/__init__.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/src/z3c/rmldocument/README.txt
===================================================================
--- z3c.rmldocument/trunk/src/z3c/rmldocument/README.txt	                        (rev 0)
+++ z3c.rmldocument/trunk/src/z3c/rmldocument/README.txt	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,46 @@
+
+
+Defining documents
+==================
+
+A document represents a specific document that a user might request from the
+system. This can be e.g. the terms and conditions of a service, a contract, an
+invoice, etc.
+
+The developer provides a basic page template that renders RML and that can
+include other blocks of RML given by the application. This can be used to
+allow administrators to locally adjust the developer templates with additional
+text that are specific to the installation.
+
+Additionally the developer provides a set of fields that can be used to
+customize the document on a per-document basis, e.g. with the client's name.
+
+
+  >>> import z3c.rmldocument.document
+  >>> import zope.interface
+  >>> service_contract = z3c.rmldocument.document.Document(
+  ...     template="""<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
+  ...                <!DOCTYPE document SYSTEM "rml.dtd">
+  ...                <document
+  ...                  filename="tag-para.pdf">
+  ...                  <template>
+  ...                    <pageTemplate id="main">
+  ...                      <frame id="first" x1="1cm" y1="1cm" width="19cm" height="26cm"/>
+  ...                    </pageTemplate>
+  ...                  </template>
+  ...                  <story>
+  ...                    <para>Foo</para>
+  ...                  </story>
+  ...                </document>""")
+
+
+Rendering documents
+===================
+
+The document is a rather dull object. A rendering utility takes care of
+actually rendering the template:
+
+  >>> from z3c.rmldocument.renderer import Renderer
+  >>> renderer = Renderer()
+  >>> renderer.render(service_contract)
+  '%PDF...'


Property changes on: z3c.rmldocument/trunk/src/z3c/rmldocument/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/src/z3c/rmldocument/__init__.py
===================================================================
--- z3c.rmldocument/trunk/src/z3c/rmldocument/__init__.py	                        (rev 0)
+++ z3c.rmldocument/trunk/src/z3c/rmldocument/__init__.py	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1 @@
+# Make this a Python package


Property changes on: z3c.rmldocument/trunk/src/z3c/rmldocument/__init__.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/src/z3c/rmldocument/document.py
===================================================================
--- z3c.rmldocument/trunk/src/z3c/rmldocument/document.py	                        (rev 0)
+++ z3c.rmldocument/trunk/src/z3c/rmldocument/document.py	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""RML document.
+
+$Id: interfaces.py 74195 2007-04-16 22:41:24Z srichter $
+"""
+
+import z3c.rmldocument.interfaces
+import zope.interface
+
+
+class Document(object):
+    """An RML document definition."""
+
+    zope.interface.implements(z3c.rmldocument.interfaces.IDocument)
+
+    def __init__(self, template, fields=zope.interface.Interface,
+                 blocks=zope.interface.Interface):
+        self.template = template
+        self.fields = fields
+        self.blocks = blocks


Property changes on: z3c.rmldocument/trunk/src/z3c/rmldocument/document.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/src/z3c/rmldocument/interfaces.py
===================================================================
--- z3c.rmldocument/trunk/src/z3c/rmldocument/interfaces.py	                        (rev 0)
+++ z3c.rmldocument/trunk/src/z3c/rmldocument/interfaces.py	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,58 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""User-editable RML documents interfaces.
+
+$Id: interfaces.py 74195 2007-04-16 22:41:24Z srichter $
+"""
+
+import zope.interface
+
+
+class IDocument(zope.interface.Interface):
+    """A document.
+
+    Documents have three degrees of flexibility:
+
+    - A document-specific base template (PT) generating RML
+
+    - Blocks of RML that can be embedded by the base template.
+
+    - Fields of data that can be embedded by both the base template and the
+      embedded RML blocks.
+
+    """
+
+    template = zope.interface.Attribute(
+        "The page template for generating the basic RML.")
+
+    fields = zope.interface.Attribute(
+        "A schema describing which fields are available for substitution.")
+
+    blocks = zope.interface.Attribute(
+        "A schema describing which blocks of RML are available")
+
+
+class IDocumentRenderer(zope.interface.Interface):
+
+    def render(document, fields=None, blocks=None):
+        """Render the document with the given fields and blocks and
+        return the PDF.
+
+        `document` is an IDocument object.
+
+        `fields` is a dict matching the `fields` schema on the class.
+
+        `blocks` is a dict matching the `blocks` schema on the class.
+
+        """


Property changes on: z3c.rmldocument/trunk/src/z3c/rmldocument/interfaces.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/src/z3c/rmldocument/renderer.py
===================================================================
--- z3c.rmldocument/trunk/src/z3c/rmldocument/renderer.py	                        (rev 0)
+++ z3c.rmldocument/trunk/src/z3c/rmldocument/renderer.py	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,34 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""RML document.
+
+$Id: interfaces.py 74195 2007-04-16 22:41:24Z srichter $
+"""
+
+import z3c.rml.rml2pdf
+import z3c.rmldocument.interfaces
+import zope.interface
+
+
+class Renderer(object):
+    """Render RML documents."""
+
+    zope.interface.implements(z3c.rmldocument.interfaces.IDocumentRenderer)
+
+    def render(self, document, fields=None, blocks=None):
+        """Render the document with the given fields and blocks and
+        return the PDF.
+        """
+        rml = document.template
+        return z3c.rml.rml2pdf.parseString(rml).getvalue()


Property changes on: z3c.rmldocument/trunk/src/z3c/rmldocument/renderer.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: z3c.rmldocument/trunk/src/z3c/rmldocument/tests.py
===================================================================
--- z3c.rmldocument/trunk/src/z3c/rmldocument/tests.py	                        (rev 0)
+++ z3c.rmldocument/trunk/src/z3c/rmldocument/tests.py	2008-03-11 21:24:14 UTC (rev 84592)
@@ -0,0 +1,27 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Test harness for z3c.rmldocument
+
+$Id: interfaces.py 74195 2007-04-16 22:41:24Z srichter $
+"""
+
+import unittest
+from zope.testing import doctest
+
+
+def test_suite():
+    suite = unittest.TestSuite()
+    suite.addTest(doctest.DocFileSuite(
+        'README.txt', optionflags=doctest.ELLIPSIS))
+    return suite


Property changes on: z3c.rmldocument/trunk/src/z3c/rmldocument/tests.py
___________________________________________________________________
Name: svn:eol-style
   + native



More information about the Checkins mailing list