<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 4:31 AM, Vincent Ladeuil <span dir="ltr">&lt;<a href="mailto:v.ladeuil%2Blp@free.fr">v.ladeuil+lp@free.fr</a>&gt;</span> wrote:<br><br>&lt;snip&gt;<br><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
cert_file: /usr/lib/python2.6/dist-packages/bzrlib/tests/ssl_certs/server.crt<br>
<br>
I bet that file doesn&#39;t exist on your machine right (they don&#39;t<br>
on mine at least) ?<br>
<br>
So what we have here is :<br>
<br>
- a bug in the test server, it shouldn&#39;t fail to start<br>
  *silently*. And the test setUp should just abort if the server<br>
  can&#39;t be started.<br>
<br>
- packaging bug, these test can&#39;t be run without these files,<br>
  they seems to be included in the tarball though, so I suspect<br>
  they are lost at installation time,<br>
<br>
Now, if you create copy the content from the ssl_certs directory<br>
from the bzr sources, the tests should pass.<br>
<font color="#888888"><br>
     Vincent<br>
</font></blockquote></div><br><br>You are exactly correct.  I thought I would be clever and run create_ssls.py myself to create server and ca certs.  That did not go so well... so  maybe the tests are hard-coded to particular pre-generated certs.  So I just copied the certs from the bzr sources as you suggested and voila!  A &#39;bzr selftest test_http&#39; runs to completeion (and passes).  <br>
<br>So you appear to be correct about both bugs.  You figured out what was going on, so you get first right of refusal to write them up.  If you prefer, I&#39;ll do the typing.  Either way is great, so long as we make sure they get logged.<br>
<br>Thanks!<br>-M<br><br>