title: Unitttest, no test result
body: <p>Anybody please help me why I cannot see the output result of the test in shell. Enclosed are the module code and test file both saved in the directory. Thanks a lot, and can anybody help me with a good textbook for python testing for beginners.</p>
  
  <p>I wrote to shell: python calculate_test.py -v</p>
  
  <p><strong>calculate.py</strong> : this should be the module file</p>
  
  <pre><code>class Calculate(object):
      def add(self, x, y):
          return x + y
  
  if __name__ == '__main__':
      calc = Calculate()
      result = calc.add(2, 2)
      print result
  </code></pre>
  
  <p><strong>calculate_test.py</strong>: this is the test file</p>
  
  <pre><code>import unittest
  from app.calculate import Calculate  #this is maybe the problem
  
  
  class TestCalculate(unittest.TestCase):
      def setUp(self):
          self.calc = Calculate()
  
      def test_add_method_returns_correct_result(self):
          self.assertEqual("HelloWorld", self.calc.add("Hello", "World"))
  </code></pre>