import unittest
import os, sys

PROJECT_ROOT = os.path.dirname(__file__)
sys.path.append(os.path.join(PROJECT_ROOT, ".."))

from CodeConverter import CodeConverter

class TestBasic(unittest.TestCase):
    def setUp(self):
        pass

    def test_initialize(self):
        self.assertEqual(CodeConverter('foo').s, 'foo')

if __name__ == '__main__':
    unittest.main()

import unittest
import os, sys

PROJECT_ROOT = os.path.dirname(__file__)
sys.path.append(os.path.join(PROJECT_ROOT, ".."))

from CodeConverter import CodeConverter

class TestBasic(unittest.TestCase):
    def setUp(self):
        pass

    def test_initialize(self):
        self.assertEqual(CodeConverter('foo').s, 'foo')

    # def test_python_version(self):
    #     # Python for Sublime Text 2 is 2.6.7 (r267:88850, Oct 11 2012, 20:15:00)
    #     if sys.version_info[:3] != (2, 6, 7):
    #         print 'Sublime Text 2 uses python 2.6.7'
    #         print 'Your version is ' + '.'.join(str(x) for x in sys.version_info[:3])
    #     self.assertTrue(True)

if __name__ == '__main__':
    unittest.main()

Add test to check python version