Hello Johannes,

On Wed, Feb 29, 2012 at 6:58 AM, Johannes Weberhofer
<jweberho...@weberhofer.at> wrote:
> Hello!
>
> I have now done some tests with python 2.7.
>
> It is important to update the guppy-package to the latest trunk version, 
> because older versions are not compatible with python 2.7.
>

We'll take that into account. However, remember that w3af is right now
only under python 2.6.

> After a long time of testing, I have recognized, that many all doc-tests fail 
> using the "nosetests --doctest-result-variable=_test_res_" option. "python -m 
> doctest /PATH/FILE.py" runs nicely for those, but as soon as I'm using 
> nosetests with the above mentioned option, the same tests fail.

Can you please provide an example?

> I'm not good in python, I'd like to ask you why this option is used, and if 
> the option could be left out.
>

Take a look at this [0]. We also use in the project the variable '_'
for i18n purposes. So to avoid conflicts with it during the whole
tests execution we override it with '_test_res_' (the name could be
anyone I think). In the other hand, I believe that 'nose' may some
times show error messages related to that variable name hiding the
real causes of the errors.

Regards,

Javier

[0] 
http://readthedocs.org/docs/nose/en/latest/plugins/doctests.html#cmdoption--doctest-result-variable

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to