<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 25/02/2010 16:18, C. Titus Brown wrote:
<blockquote cite="mid:20100225161808.GA5776@idyll.org" type="cite">[snip...]<br>
  <pre wrap="">And, when a setup.py is present (i.e. dev environment),

  % python setup.py test

is going to be the new standard in the brave new distutils2 world.

Does that makes more sense as a backstore? ;)

  </pre>
</blockquote>
Your example for a setup.py shows the following:<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<pre><div class="line" id="LC14"><span class="p"></span></div><div
 class="line" id="LC15">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">test_suite</span><span
 class="o">=</span><span class="s">'somepackage.tests.get_suite'</span></div></pre>
Is test_suite a setuptools extension to distutils? Is it required to be
a callable and will distutils2 use the same mechanism? If so then
unittest(2) ought to have some support for it rather than being
something that is *only* useable from setup.py.<br>
<br>
Why not just:<br>
<br>
&nbsp;&nbsp;&nbsp; tests='somepackage.tests'<br>
<br>
Or even default to test discovery?<br>
<br>
All the best,<br>
<br>
Michael Foord<br>
<br>
<br>
<blockquote cite="mid:20100225161808.GA5776@idyll.org" type="cite">
  <pre wrap="">thanks,
--titus
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.ironpythoninaction.com/">http://www.ironpythoninaction.com/</a>
<a class="moz-txt-link-freetext" href="http://www.voidspace.org.uk/blog">http://www.voidspace.org.uk/blog</a>

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (&#8221;BOGUS AGREEMENTS&#8221;) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

</pre>
</body>
</html>