view markup/tests/output.py @ 72:ee092ccb3af1 trunk

add a function `ET` in the template plugin including `ElementTree` elements in the output stream
author mgood
date Tue, 11 Jul 2006 23:03:20 +0000
parents 59eb24184e9c
children 4938c310d904
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://markup.edgewall.org/wiki/License.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://markup.edgewall.org/log/.

import doctest
import unittest
import sys

from markup import output

def suite():
    suite = unittest.TestSuite()
    suite.addTest(doctest.DocTestSuite(output))
    return suite

if __name__ == '__main__':
    unittest.main(defaultTest='suite')
Copyright (C) 2012-2017 Edgewall Software