title: AttributeError: TestSwitch instance has no attribute 'assertTrue'
body: <p>I have a following pyunit test case code where I am collecting the result of the function (True or False) and using it to drive my assertion. However, I am getting the "no attribute" error for assertTrue. What is missing here?</p>
  
  <p>I am using python 2.7.8 and pyunit version of PyUnit-1.4.1-py2.7. </p>
  
  <p>The same code when run from the Eclipse (pydev plugin) from my Mac, it works fine. Only when I take this to my Linux box, it does throw below error. So to me it looks like some package incompatibility problem. </p>
  
  <pre><code>import json
  import unittest
  
  class TestSwitch(unittest.TestCase):
  
      def testFunction(self):
          self.assertTrue(True, "test case failed")
  </code></pre>
  
  <p>Below is the test suite class.</p>
  
  <pre><code>import unittest
  from mysample import TestSwitch
  
  # Create an instance of each test case.
  testCase = TestSwitch('testFunction')
  
  # Add test cases to the test suite.
  testSuite = unittest.TestSuite()
  testSuite.addTest(testCase)
  
  # Execute the test suite.
  testRunner = unittest.TextTestRunner(verbosity=2)
  testRunner.run(testSuite)
  </code></pre>
  
  <p>It throws below error. </p>
  
  <pre><code>bash-3.2$ python mysuite.py
  testFunction (mysample.TestSwitch) ... ERROR
  
  ======================================================================
  ERROR: testFunction (mysample.TestSwitch)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "workspace/pyunit/mysample.py", line 7, in testFunction
      self.assertTrue(True, "test case failed")
  AttributeError: TestSwitch instance has no attribute 'assertTrue'
  ----------------------------------------------------------------------
  Ran 1 tests in 0.000s
  
  FAILED (errors=1)
  bash-3.2$    
  </code></pre>