# Python lib import import unittest import os import sys # If we run test in the tests directory import parent folder if(not os.path.exists('comment.py')): sys.path.insert(0,'..') # The class to test from comment import MaloneIssueComment class CommentTest(unittest.TestCase): def setUp(self): pass def test_suite(): from unittest import TestSuite, makeSuite suite = TestSuite() suite.addTest(makeSuite(CommentTest)) return suite if __name__ == '__main__': unittest.main()