diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-01 14:10:50 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-01 14:10:50 +0000 |
| commit | b573de5a673b28ca9c958214b7de178f97996c1f (patch) | |
| tree | a46752023159daa9f0486b6789bae797e3f0a09d /bindings/python | |
| parent | cf5e4d4b867b3c75df148b98cc792a8cf8991968 (diff) | |
| download | lasso-b573de5a673b28ca9c958214b7de178f97996c1f.tar.gz lasso-b573de5a673b28ca9c958214b7de178f97996c1f.tar.xz lasso-b573de5a673b28ca9c958214b7de178f97996c1f.zip | |
* bindings/bindings.py: support const modifier on this argument
Diffstat (limited to 'bindings/python')
| -rw-r--r-- | bindings/python/tests/Makefile.am | 2 | ||||
| -rwxr-xr-x | bindings/python/tests/idwsf1_tests.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/tests/Makefile.am b/bindings/python/tests/Makefile.am index f465d298..ef47a70a 100644 --- a/bindings/python/tests/Makefile.am +++ b/bindings/python/tests/Makefile.am @@ -1,6 +1,6 @@ MAINTAINERCLEANFILES = Makefile.in if PYTHON_ENABLED -TESTS = profiles_tests.py binding_tests.py +TESTS = profiles_tests.py binding_tests.py idwsf1_tests.py idwsf2_tests.py endif EXTRA_DIST = profiles_tests.py binding_tests.py diff --git a/bindings/python/tests/idwsf1_tests.py b/bindings/python/tests/idwsf1_tests.py index 95dce2de..1867b19b 100755 --- a/bindings/python/tests/idwsf1_tests.py +++ b/bindings/python/tests/idwsf1_tests.py @@ -146,7 +146,7 @@ class IdWsf1TestCase(unittest.TestCase): idp_disco = lasso.Discovery(self.idp) idp_disco.processQueryMsg(wsc_disco.msgBody) idp_disco.setIdentityFromDump(idp_identity_dump) - idp_disco.identity.addResourceOffering(self.get_resource_offering()) + idp_disco.getIdentity().addResourceOffering(self.get_resource_offering()) idp_disco.buildResponseMsg() # Process response @@ -221,7 +221,7 @@ class DiscoveryRemoveTestCase(IdWsf1TestCase): idp_disco.processModifyMsg(wsp_disco.msgBody) idp_disco.setIdentityFromDump(idp_identity_dump) offering = self.get_resource_offering() - idp_disco.identity.addResourceOffering(offering) + idp_disco.getIdentity().addResourceOffering(offering) self.failUnless('<disco:ServiceType>urn:liberty:id-sis-pp:2003-08</disco:ServiceType>' in idp_disco.identity.dump()) idp_disco.buildModifyResponseMsg() |
