title: Unable to run unit tests for openstack nova
body: <p>I was able to create the virtual environment for nova to run Unit tests. At least it said so.</p>
  
  <pre><code>Nova development environment setup is complete.
  Nova development uses virtualenv to track and manage Python dependencies
  while in development and testing.
  To activate the Nova virtualenv for the extent of your current shell
  session you can run:
  .....
  </code></pre>
  
  <p>But when i tried to run the particular unit test cases, eg:</p>
  
  <p>./run_tests.sh test_libvirt</p>
  
  <p>it's failing saying :</p>
  
  <pre><code>Running `tools/with_venv.sh python -m nova.openstack.common.lockutils python setup.py testr --testr-args='--subunit --concurrency 0  test_libvirt'`
  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
      "__main__", fname, loader, pkg_name)
    File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
      exec code in run_globals
    File "/home/chinmay/nova/nova/openstack/common/lockutils.py", line 29, in &lt;module&gt;
      from oslo.config import cfg
  **ImportError: No module named config**
  Ran 0 tests in 0.006s
  OK
  </code></pre>
  
  <p>Is the virtaul environment not set properly ? oslo.config in in the env. i did 
  <code>source .venv/bin/activate</code> and tried again, but the same result.</p>
  
  <p>Am i missing something here? </p>