<div dir="ltr">Thanks Doug. For others following this thread. The following creates and activates the tox virtual environment.<div><div><br></div><div># Note: its --<space>notests not --notests</div><div>$ tox -epy27 -- notests<br></div><div>$ source .tox/py27/bin/activate<br></div><div>(py27)$ openstack help</div><div><br></div></div><div><br></div><div>-- <a href="http://ronaldbradford.com/blog/running-openstack-tests-with-tox-2015-04-28/">http://ronaldbradford.com/blog/running-openstack-tests-with-tox-2015-04-28/</a></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div><div style="font-family:arial;font-size:small"><font face="courier new, monospace" size="1">01010010 01101111 01101110 01100001 01101100 01100100 00100000 01000010 01110010 01100001 01100100 01100110 01101111 01110010 01100100</font><br></div><div><font face="courier new, monospace" size="1"><br></font></div>


















































































<font size="4"><b>Ronald Bradford<br></b></font><span style="color:rgb(102,102,102)"><span style="color:rgb(0,0,0)"><div><span style="color:rgb(0,0,0)">MySQL Expert specializing in Performance Tuning, Scalability and High Availability</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><a href="http://effectivemysql.com/book/replication-techniques/" target="_blank">Lead Author - Effective MySQL: Replication Techniques In Depth</a> - 2012, <a href="http://effectivemysql.com/book/replication-techniques/" target="_blank">Author - Effective MySQL: Backup and Recovery</a> - 2012,</div></span></span><span style="color:rgb(102,102,102)"><span style="color:rgb(0,0,0)"><div><a href="http://effectivemysql.com/book/optimizing-sql-statements/" target="_blank">Author - Effective MySQL: Optimizing SQL Statements</a> - 2011,  <a href="http://expertphpandmysql.com/" target="_blank">Co-author - Expert PHP and MySQL</a> - 2010</div><div><a href="http://mysqlpreacher.com/wordpress/2011/01/mysql-community-blogging-%E2%80%93-planetmysql-part-2/" target="_blank">All-time top MySQL Blogger - 2011</a>, <a href="http://apex.oracle.com/pls/otn/f?p=19297:4:134763154226248::NO:4:P4_ID:1820" style="color:rgb(0,0,0)" target="_blank">Oracle ACE Director - 2010</a>,  <a href="http://www.mysql.com/why-mysql/awards/community-2009.html" style="color:rgb(0,0,0)" target="_blank">MySQL Community Member of the Year - 2009</a><br></div></span><div><span style="color:rgb(102,102,102)"><br></span></div><div><font color="#666666">Download Contact Details:  <a href="http://effectivemysql.com/contact-details/" target="_blank">http://effectivemysql.com/contact-details/</a></font></div><div><font color="#666666"><br></font></div>Web Site: </span><a style="color:rgb(102,102,102)" href="http://ronaldbradford.com/" target="_blank">http://ronaldbradford.com</a><br style="color:rgb(102,102,102)">














































































































































































































































































































<span style="color:rgb(102,102,102)">Linked In: </span><a style="color:rgb(102,102,102)" href="http://www.linkedin.com/in/ronaldbradford" target="_blank">http://www.linkedin.com/in/ronaldbradford</a><br><span style="color:rgb(102,102,102)">Twitter:     </span><a style="color:rgb(102,102,102)" href="http://twitter.com/ronaldbradford" target="_blank">@RonaldBradford</a><span style="color:rgb(102,102,102)">, </span><a style="color:rgb(102,102,102)" href="http://twitter.com/MySQLExpert" target="_blank">@MySQLExpert</a><br>





















<span style="color:rgb(102,102,102)">Skype:     RonaldBradford</span><div><span style="color:rgb(102,102,102)">GTalk:      Ronald.Bradford<br></span><div><span style="color:rgb(102,102,102)"><br></span><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Apr 28, 2015 at 10:44 AM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug@doughellmann.com" target="_blank">doug@doughellmann.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excerpts from Kevin L. Mitchell's message of 2015-04-27 17:38:25 -0500:<br>
<span class="">> On Mon, 2015-04-27 at 21:42 +0000, Jeremy Stanley wrote:<br>
> > I consider it an unfortunate oversight that those files weren't<br>
> > deleted a very, very long time ago.<br>
><br>
> Unfortunately, there's one problem with that: you can't tell tox to use<br>
> a virtualenv that you've built.  We need this capability at present, so<br>
> we have to run tests using run_tests.sh instead of tox :(  I have an<br>
> issue open on tox to address this need, but haven't seen any movement on<br>
> that; so until then, I have to oppose the removal of run_tests.sh…<br>
> despite how much *I'd* like to see it bite the dust!<br>
<br>
</span>I had a similar requirement at one point and was able to use "tox<br>
--notests" to create the virtualenv, then modify it to add the tools I<br>
wanted, then run "tox" again to run the tests.<br>
<span class="HOEnZb"><font color="#888888"><br>
Doug<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>