view babel/tests/__init__.py @ 61:da7efa40a9e2

Move `Translations` and `LazyProxy` to new `babel.support` module, which should contain any convenience code that is useful for applications using Babel/I18n, but not used by Babel itself. ''(Note that [61] was an accidential check in of part of this change)''
author cmlenz
date Fri, 08 Jun 2007 11:54:01 +0000
parents 2834e2a6fd26
children 3fb050ad01ae
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2007 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://babel.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://babel.edgewall.org/log/.

import unittest

def suite():
    from babel.tests import core, dates, localedata, numbers, support, util
    from babel.messages import tests as messages
    suite = unittest.TestSuite()
    suite.addTest(core.suite())
    suite.addTest(dates.suite())
    suite.addTest(localedata.suite())
    suite.addTest(messages.suite())
    suite.addTest(numbers.suite())
    suite.addTest(support.suite())
    suite.addTest(util.suite())
    return suite

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