summaryrefslogtreecommitdiffhomepage
path: root/tests/util.py
blob: 2e0be0877fb70aff45bc007fe59b6c03c67c6565 (plain)
1
2
3
4
5
6
7
8
9
10
import unittest


class ParamikoTest(unittest.TestCase):
    # for Python 2.3 and below
    if not hasattr(unittest.TestCase, 'assertTrue'):
        assertTrue = unittest.TestCase.failUnless
    if not hasattr(unittest.TestCase, 'assertFalse'):
        assertFalse = unittest.TestCase.failIf