title: Where should I put tests when packaging python modules?
body: <p>I have a module that sits in a namespace. Should tests and data the tests rely on go in the namespace or in the top level where setup.py sites?</p>
  
  <pre><code>./company/__init__.py
  ./company/namespace/__init__.py
  ./company/namespace/useful.py
  ./company/namespace/test_useful.py
  ./company/namespace/test_data/useful_data.xml
  ./setup.py
  </code></pre>
  
  <p>or</p>
  
  <pre><code>./company/__init__.py
  ./company/namespace/__init__.py
  ./company/namespace/useful.py
  ./test_useful.py
  ./test_data/useful_data.xml
  ./setup.py
  </code></pre>
  
  <p>Does the question amount to whether tests should be installed or not?</p>