Hello, <div><br></div><div>I'm sorry to restart the topic (<a href="https://lists.launchpad.net/openstack/msg13621.html" style="color:rgb(0,0,170);text-decoration:none;font-family:'Arial Unicode MS',Arial,sans-serif;background-color:rgb(255,255,255)">https://lists.launchpad.net/openstack/msg13621.html</a>), but i accidentally deleted the message in my inbox :S. </div>
<div><br></div><div>I'm still having the same problem, each time i add "import libvirt" to the file "diangostics.py" (<a href="https://review.openstack.org/#/c/8839/">https://review.openstack.org/#/c/8839/</a>) the entire test suit won't run.<br>
</div><div><br></div><div><b>With the import</b> present i get the following output:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
 ---------------------------------------------------------------------- <br>Ran 0 tests in 0.000s<br>OK Running PEP8 and HACKING compliance check... <br>2 imports missing in this test environment</blockquote></div><div><br>
</div><div><b>Without the import </b>present it get this output:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
 ---------------------------------------------------------------------- <br>Ran 3030 tests in 233.326s<br>OK (SKIP=22) Running PEP8 and HACKING compliance check... <br>11 imports missing in this test environment</blockquote>
<div><br></div><div><br></div><div>The problem now is that, according to the OpenStack conventions, the import must be present. However, with the import present i can't get any of the tests to run. </div><div>I'm no expert in Python, so could someone please help me out here?</div>
</div><div><br></div><div>Regards,</div><div><br>Leander</div>