nuxeo / FunkLoad

Functional and load testing framework for web applications, written in Python
http://funkload.nuxeo.org/
GNU General Public License v2.0
382 stars 83 forks source link

Error running sample test ("unexpected keyword argument") #129

Open mburrows02 opened 10 years ago

mburrows02 commented 10 years ago

After installing FunkLoad and running the following (from <install-dir>/funkload-demo/simple):

fl-run-test -dv test_Simple.py

The following error comes up:

 Traceback (most recent call last):
  File "/usr/bin/fl-run-test", line 9, in <module>
   load_entry_point('funkload==1.17.0b-20140310', 'console_scripts', 'fl-run-test')()
  File "build/bdist.linux-x86_64/egg/funkload/TestRunner.py", line 467, in main
  File "build/bdist.linux-x86_64/egg/funkload/TestRunner.py", line 305, in __init__
  File "build/bdist.linux-x86_64/egg/funkload/TestRunner.py", line 436, in runTests
TypeError: __init__() got an unexpected keyword argument 'resultclass'

The test runs fine if I run it with python test_Simple.py. Any idea what could be causing this or whether it's an environment problem or a bug?

strocknar commented 10 years ago

Which version of Python are you using? I think 'resultclass' isn't recognized until 2.7