Hey Johannes,
On Tue, Jan 10, 2012 at 9:56 AM, Johannes Weberhofer <
jweberho...@weberhofer.at> wrote:
> Hello!
>
> I'm currently testing the rpm version for opensuse. As the newer Versions
> are running with python 2.7, I'm running the tests using python 2.7.
Be aware that w3af is currently officially supported under py26. We never
tried running the tests using py27.
On the other hand, are you following our recommendations for running the
unit tests described here [0]?
> When i execute the tests, I get a many, many failures like the following:
>
>
> -----------------------------------------------------------------------------
> 1) ERROR: Doctest:
> core.controllers.basePlugin.basePlugin.basePlugin.getDesc
>
> Traceback (most recent call last):
> /usr/lib/python2.7/site-packages/nose/plugins/doctests.py line 395 in
> tearDown
> delattr(builtin_mod, self._result_var)
> AttributeError: _test_res_
>
>
>
> Unfortunately I'm not experienced in python so much, therefore I can't
> interpret this kind of error...
>
> In total I get "5 FAILED, 134 errors, 1 skipped (87 tests passed)", nearly
> all errors are the same as the one in the top.
>
> The errors are the following, I hope you can interprete them...
>
I get a completely different output (still distant from being perfect
though):
-----------------------------------------------------------------------------
240 tests run in 64.0 seconds.
5 FAILED, 4 errors, 1 skipped (230 tests passed)
Regards,
Javier
[0] https://sourceforge.net/apps/trac/w3af/wiki/developers-guide#Unittesting
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop