<span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">Hi all,<br><br>I created my dev environment with zopeproject. I tried to create a functional doctest with the following lines:<br><br>&gt;&gt;&gt; from zope.testbrowser.testing import Browser<br>
<br>&gt;&gt;&gt; browser = Browser()<br>&gt;&gt;&gt; browser.addHeader(&#39;Authorization&#39;, &#39;Basic mgr:mgrpw&#39;)<br>&gt;&gt;&gt; browser.open(&#39;<a href="http://localhost/manage&#39;)">http://localhost/manage&#39;)</a><br>
<br><br>I get the following error for the last line.<br><br>File &quot;build/bdist.macosx-10.3-fat/egg/mechanize/_mechanize.py&quot;, line 261, in _mech_open<br>httperror_seek_wrapper: HTTP Error 403: Forbidden<br><br>Before I came to this point I first had to add the path to the zope.testbrowser package to sys.path inside the test script.<br>
Second I had to install mechanize. Now, I came to this point.<br><br>Im working on Mac OS X with Python 2.4.4<br><br>Can somebody help me?<br><br>Thanks,<br>Lothar<br></span>