yanne / api-testing

I am using this to test GitHub API
1 stars 0 forks source link

dictionary parameter cannot be analyzed correctly. #369

Closed yanne closed 9 years ago

yanne commented 9 years ago

Originally submitted to Google Code by yanfei428 on 6 Jan 2014

Robot Framework 2.8.3 (Python 2.7.5 on win32)

Architecture: Robot on winXP and Python on Linux, Robot use Remote lirabry to access Python.

case: * Test Cases * meter related meter config generator 1 1/11 durationMode=SECONDS loadMode=FIXED load=1000 loadUnit=MEGABITS_PER_SECOND schedulingMode=PORT_BASED

Lib: def meter_config_generator( self, session_key, port, _args ): return self.meter_sessions[session_key].config_generator(port, _args)

While executing case above, it reports error: <type 'exceptions.TypeError'>:run_keyword() takes exactly 3 arguments (4 given)

I'm wondering if there's something wrong with parsing dictionary paramter in RobotFramework which takes the whole equation like "durationMode=SECONDS" as a string. Just my suspicion.

yanne commented 9 years ago

Originally submitted to Google Code by @mkorpela on 8 Jan 2014

Please post this issue to Robot Framework issue tracker. This issue tracker is for RIDE issues only. Closing as Invalid.