summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python')
-rwxr-xr-xbindings/python/tests/idwsf2_tests.py8
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)