UndefinedInterfaceName: soap in unit tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| ladon |
Undecided
|
Unassigned |
Bug Description
When running the Ladon unit tests (from trunk 112), I got the following error:
[andre:
127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
.127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
F127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
.127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
F127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
.127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
F127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
.127.0.0.1 - - [13/Apr/2014 19:44:23] "POST /StringTestServ
F
=======
FAIL: test_bytes_
-------
Traceback (most recent call last):
File "testladon.py", line 124, in test_bytes_
self.
File "testladon.py", line 99, in string_
self.
AssertionError: 500 != 200
=======
FAIL: test_bytes_
-------
Traceback (most recent call last):
File "testladon.py", line 127, in test_bytes_
self.
File "testladon.py", line 99, in string_
self.
AssertionError: 500 != 200
=======
FAIL: test_uni_
-------
Traceback (most recent call last):
File "testladon.py", line 130, in test_uni_
self.
File "testladon.py", line 99, in string_
self.
AssertionError: 500 != 200
=======
FAIL: test_uni_
-------
Traceback (most recent call last):
File "testladon.py", line 133, in test_uni_
self.
File "testladon.py", line 99, in string_
self.
AssertionError: 500 != 200
-------
Ran 8 tests in 0.212s
FAILED (failures=4)
[andre:
Printing the resdata directly in unit tests, I got the following:
ipdb> print resdata
Traceback (most recent call last):
File "/tmp/trash/
raise UndefinedInterf
UndefinedInterf
interface name: soap
The interface name "soap" has not been defined
ipdb>
Investigating a bit further I understood the problem comes from the DocumentLiteral
André (andre-miras) wrote : | #1 |
André (andre-miras) wrote : | #2 |
Also I would be pleased to write some regression tests if jsgaarde is disposed to merge them upstream.
I've created a branch that solves the issue.