pombreda / wave-robot-python-client

Automatically exported from code.google.com/p/wave-robot-python-client
Apache License 2.0
0 stars 0 forks source link

Unit tests broken for serialize context as no version #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn co http://wave-robot-python-client.googlecode.com/svn/trunk/src/waveapi 
2. cd waveapi; python run_unit_tests.py

What is the expected output? What do you see instead?

Running all tests in module robot_abstract_test
....EE
======================================================================
ERROR: testSerializeContextSansOps (robot_abstract_test.TestHelpers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pnasrat/Development/waveapi/robot_abstract_test.py", line
39, in testSerializeContextSansOps
    serialized = robot_abstract.SerializeContext(context)
TypeError: SerializeContext() takes exactly 2 arguments (1 given)

======================================================================
ERROR: testSerializeContextWithOps (robot_abstract_test.TestHelpers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pnasrat/Development/waveapi/robot_abstract_test.py", line
50, in testSerializeContextWithOps
    serialized = robot_abstract.SerializeContext(context)
TypeError: SerializeContext() takes exactly 2 arguments (1 given)

What version of the product are you using? On what operating system?

Trunk, Revision: 9, OS X 10.5

Please provide any additional information below.

Patch attached fixing:

Running all tests in module robot_abstract_test
......
----------------------------------------------------------------------
Ran 6 tests in 0.008s

OK

Original issue reported on code.google.com by pnas...@gmail.com on 25 Jun 2009 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago
This should be fixed in the next release of the Python api.

Original comment by artdent on 30 Jun 2009 at 4:12

GoogleCodeExporter commented 9 years ago
Seems to be fixed.

Original comment by techtonik@gmail.com on 11 Jan 2010 at 8:43