$ sudo python UTscapy.py -f text -F -t regression.uts -o regressions_osx.txt
[...]
###(057)=[failed] Result manipulation
>>> ans.nsummary()
Traceback (most recent call last):
File "<input>", line 2, in <module>
File "/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/si
te-packages/scapy/plist.py", line 107, in nsummary
print conf.color_theme.id(i,"%04i"),
TypeError: <lambda>() takes exactly 1 argument (2 given)
[...]
PASSED=67 FAILED=1
I guess this lambda function in themes.py causes the problem:
class ColorTheme:
def __getattr__(self, attr):
return lambda x:x
If I use the DefaultTheme by specifying -f ansi, everything works fine:
$ sudo python UTscapy.py -f ansi -F -t regression.uts -o regressions_osx.txt
[...]
PASSED=68 FAILED=0