Erik Grinaker is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

erikg / python-chrono

A Python module for simple and convenient date/time handling

Clone this repository (size: 1.2 MB): HTTPS / SSH
hg clone https://bitbucket.org/erikg/python-chrono
hg clone ssh://hg@bitbucket.org/erikg/python-chrono

python-chrono / tests / test.py

#!/usr/bin/python

from __future__ import absolute_import

import os.path
import sys
import unittest

sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

import tests


class TestSuite(unittest.TestSuite):

    def __init__(self):
        unittest.TestSuite.__init__(self)

        self.addTests(unittest.defaultTestLoader.loadTestsFromModule(tests))


if __name__ == "__main__":
    unittest.TextTestRunner(verbosity=2).run(TestSuite())