title: Why does Visual Studio Code fail to discover my Python unittest unit tests?
body: <p>I have a Python 3.4 project that I'm working on using Visual Studio Code (v1.19.2)</p>
  
  <p>The project structure is:</p>
  
  <pre><code>root
      foo
          __init__.py
          foo.py
          footests.py
  </code></pre>
  
  <p>footests.py contains my <code>unittest</code> based tests:</p>
  
  <pre><code>import unittest
  import foo
  
  class footests(unittest.TestCase):
  
      def test(self):
          self.assertEquals(True, True)
  
  if __name__ == '__main__':
      unittest.main()
  </code></pre>
  
  <p>I have enabled unittest in my VS Code User Settings like so:</p>
  
  <pre><code>"python.unitTest.unittestEnabled": true,
  </code></pre>
  
  <p>My problem is that whenever I try to discover unit tests in VS Code, I get the following message:</p>
  
  <blockquote>
    <p>No tests discovered, please check the configuration settings for the tests.</p>
  </blockquote>
  
  <p>And in the VS Code Output window all I see is:</p>
  
  <blockquote>
    <p>start</p>
  </blockquote>
  
  <p>My question is - Why don't VS Code / unittest discover the unit test in the <code>foo</code> sub-folder?</p>