2013-10-30 19:19:30 -04:00
|
|
|
import os
|
2012-10-15 16:21:58 -04:00
|
|
|
import unittest
|
|
|
|
|
2013-10-30 19:22:52 -04:00
|
|
|
root_path = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
|
2012-10-15 16:21:58 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2013-10-30 19:22:52 -04:00
|
|
|
|
|
|
|
def test_path(filename):
|
|
|
|
return os.path.join(root_path, filename)
|
|
|
|
|