Skip to content

Commit

Permalink
fix TestProtocolSoftValidation.test_soap
Browse files Browse the repository at this point in the history
  • Loading branch information
plq committed Sep 24, 2011
1 parent afea829 commit c42f9a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/rpclib/test/test_soft_validation.py
Expand Up @@ -159,8 +159,6 @@ def some_method(s):
ctx = MethodContext(application)
ctx.in_string = [u"""
<SOAP-ENV:Envelope xmlns:ns0="tns"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns0:some_method>
Expand All @@ -175,7 +173,7 @@ def some_method(s):
server = ServerBase(application)
server.get_in_object(ctx)

print ctx.in_error
self.assertEquals(isinstance(ctx.in_error, ValidationError), True)

if __name__ == '__main__':
unittest.main()

0 comments on commit c42f9a2

Please sign in to comment.