~ubuntu-branches/ubuntu/trusty/python-babel/trusty

« back to all changes in this revision

Viewing changes to babel/tests/__init__.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-10-28 10:11:31 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20131028101131-zwbmm8sc29iemmlr
Tags: 1.3-2ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/rules: Run the testsuite during builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- coding: utf-8 -*-
2
 
#
3
 
# Copyright (C) 2007 Edgewall Software
4
 
# All rights reserved.
5
 
#
6
 
# This software is licensed as described in the file COPYING, which
7
 
# you should have received as part of this distribution. The terms
8
 
# are also available at http://babel.edgewall.org/wiki/License.
9
 
#
10
 
# This software consists of voluntary contributions made by many
11
 
# individuals. For the exact contribution history, see the revision
12
 
# history and logs, available at http://babel.edgewall.org/log/.
13
 
 
14
 
import unittest
15
 
 
16
 
def suite():
17
 
    from babel.tests import core, dates, localedata, numbers, support, util
18
 
    from babel.messages import tests as messages
19
 
    suite = unittest.TestSuite()
20
 
    suite.addTest(core.suite())
21
 
    suite.addTest(dates.suite())
22
 
    suite.addTest(localedata.suite())
23
 
    suite.addTest(messages.suite())
24
 
    suite.addTest(numbers.suite())
25
 
    suite.addTest(support.suite())
26
 
    suite.addTest(util.suite())
27
 
    return suite
28
 
 
29
 
if __name__ == '__main__':
30
 
    unittest.main(defaultTest='suite')