title: Python unittest discovery with subfolders
body: <p>My unittest folder is organized this way.</p>
  <pre class="lang-none prettyprint-override"><code>.
  |-- import
  |   |-- import.kc
  |   |-- import.kh
  |   `-- import_test.py
  |-- module
  |   |-- module.kc
  |   |-- module.kh
  |   `-- module_test.py
  `-- test.py
  </code></pre>
  <p>I'd want to simply run <code>test.py</code> to run each of my <code>*_test.py</code> using the <em>unittest</em> Python module.</p>
  <p>Currently, my test.py contains</p>
  <pre><code>#!/usr/bin/env python
  
  import unittest
  
  if __name__ == &quot;__main__&quot;:
      suite = unittest.TestLoader().discover('.', pattern = &quot;*_test.py&quot;)
      unittest.TextTestRunner(verbosity=2).run(suite)
  </code></pre>
  <p>The python documentation says that it should automatically discover my test in the subfolders. But it does not.</p>
  <p>At the moment, it only outputs</p>
  <pre class="lang-none prettyprint-override"><code>----------------------------------------------------------------------
  Ran 0 tests in 0.000s
  
  OK
  </code></pre>
  <p>I'm sure it is not a problem with my <code>*_test.py</code> file, because when I move them into the root directory, it works fine..
  What am I doing wrong?</p>