view babel/tests/__init__.py @ 580:ea413a4d754b trunk

fix format_decimal() with small Decimal values (#214, patch from George Lund)
author fschwarz
date Fri, 03 Aug 2012 08:36:21 +0000
parents ca203b2af83c
children
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2007-2011 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, plural, \
                            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(plural.suite())
    suite.addTest(support.suite())
    suite.addTest(util.suite())
    return suite

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