summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-08-05 14:53:29 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-08-05 14:53:29 +0000
commit207891ff2946db888c80b15f77e7cce15bfcc006 (patch)
treec1bc0b3b20525c1b842973c2602f61bdec50c919 /bindings/python
parentf83d4bd9f8227da65dbc350b3d2d390b7b0a2299 (diff)
downloadlasso-207891ff2946db888c80b15f77e7cce15bfcc006.tar.gz
lasso-207891ff2946db888c80b15f77e7cce15bfcc006.tar.xz
lasso-207891ff2946db888c80b15f77e7cce15bfcc006.zip
* Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and formatting
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/tests/Makefile.am3
-rwxr-xr-xbindings/python/tests/idwsf1_tests.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/bindings/python/tests/Makefile.am b/bindings/python/tests/Makefile.am
index 8b3791b3..64dfc090 100644
--- a/bindings/python/tests/Makefile.am
+++ b/bindings/python/tests/Makefile.am
@@ -1,7 +1,8 @@
MAINTAINERCLEANFILES = Makefile.in
+TESTS = #
if PYTHON_ENABLED
-TESTS = profiles_tests.py binding_tests.py
+TESTS += profiles_tests.py binding_tests.py
endif
if WSF_ENABLED
diff --git a/bindings/python/tests/idwsf1_tests.py b/bindings/python/tests/idwsf1_tests.py
index 1867b19b..3dc5cf86 100755
--- a/bindings/python/tests/idwsf1_tests.py
+++ b/bindings/python/tests/idwsf1_tests.py
@@ -187,7 +187,7 @@ class DiscoveryModifyTestCase(IdWsf1TestCase):
idp_disco.processModifyMsg(wsp_disco.msgBody)
idp_disco.setIdentityFromDump(idp_identity_dump)
idp_disco.buildModifyResponseMsg()
- offerings = idp_disco.identity.getOfferings()
+ offerings = idp_disco.identity.getOfferings()
self.failUnless('<disco:Status code="OK"/>' in idp_disco.msgBody)
self.failUnless('<disco:ModifyResponse newEntryIDs="%s"' % offerings[0].entryId in idp_disco.msgBody)
self.failUnless('<disco:ServiceType>urn:liberty:id-sis-pp:2003-08</disco:ServiceType>' in
@@ -220,7 +220,7 @@ class DiscoveryRemoveTestCase(IdWsf1TestCase):
idp_disco = lasso.Discovery(self.idp)
idp_disco.processModifyMsg(wsp_disco.msgBody)
idp_disco.setIdentityFromDump(idp_identity_dump)
- offering = self.get_resource_offering()
+ offering = self.get_resource_offering()
idp_disco.getIdentity().addResourceOffering(offering)
self.failUnless('<disco:ServiceType>urn:liberty:id-sis-pp:2003-08</disco:ServiceType>' in
idp_disco.identity.dump())