Permalink
Browse files

test both boolean values

  • Loading branch information...
1 parent 8bb8595 commit 8434e0d3fe6ebb49c711feddf2e1c0a00642ed6d Burak Arslan committed Oct 18, 2010
Showing with 6 additions and 0 deletions.
  1. +3 −0 src/soaplib/test/interop/_test_client_base.py
  2. +3 −0 src/soaplib/test/interop/test_suds.py
View
3 src/soaplib/test/interop/_test_client_base.py
@@ -27,7 +27,10 @@ class SoaplibClientTestBase(object):
def test_echo_boolean(self):
val = True
ret = self.client.service.echo_boolean(val)
+ self.assertEquals(val,ret)
+ val = False
+ ret = self.client.service.echo_boolean(val)
self.assertEquals(val,ret)
def test_echo_simple_boolean_array(self):
View
3 src/soaplib/test/interop/test_suds.py
@@ -37,7 +37,10 @@ def test_echo_simple_boolean_array(self):
def test_echo_boolean(self):
val = True
ret = self.client.service.echo_boolean(val)
+ self.assertEquals(val,ret)
+ val = False
+ ret = self.client.service.echo_boolean(val)
self.assertEquals(val,ret)
def test_enum(self):

0 comments on commit 8434e0d

Please sign in to comment.