diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-28 15:31:57 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-28 15:31:57 +0000 |
commit | 80e61cf6356de74a53db71b638f8b2c9e0bb7247 (patch) | |
tree | 0b06022a7d04f08cc7f39d7ad9ae0a5b81f474d8 /bindings/python/tests/idwsf2_tests.py | |
parent | 85261dcc5fef1e8f0b1699ba101850406fbe94d6 (diff) | |
download | lasso-80e61cf6356de74a53db71b638f8b2c9e0bb7247.tar.gz lasso-80e61cf6356de74a53db71b638f8b2c9e0bb7247.tar.xz lasso-80e61cf6356de74a53db71b638f8b2c9e0bb7247.zip |
Binding python ID-WSF 2.0 tests: update some tests
Diffstat (limited to 'bindings/python/tests/idwsf2_tests.py')
-rwxr-xr-x | bindings/python/tests/idwsf2_tests.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bindings/python/tests/idwsf2_tests.py b/bindings/python/tests/idwsf2_tests.py index 39ce9fde..82139324 100755 --- a/bindings/python/tests/idwsf2_tests.py +++ b/bindings/python/tests/idwsf2_tests.py @@ -166,8 +166,12 @@ class MetadataRegisterTestCase(IdWsf2TestCase): abstract = 'Personal Profile service' soapEndpoint = 'http://idp1/soapEndpoint' try: - wsp_disco.initMetadataRegister( - 'urn:liberty:id-sis-pp:2005-05', abstract, wsp.providerIds[0], soapEndpoint) + wsp_disco.initMetadataRegister() + wsp_disco.addSimpleServiceMetadata(service_types = + ['urn:liberty:id-sis-pp:2005-05'], abstract = abstract, + provider_id = wsp.providerIds[0], address = soapEndpoint) + self.failUnless(wsp_disco.request is not None) + self.failUnlessEqual(len(wsp_disco.metadatas), 1) except lasso.Error, e: self.fail(e) |