You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/02/08 00:05:30 UTC
svn commit: r1241691 -
/subversion/trunk/subversion/bindings/swig/python/tests/client.py
Author: stsp
Date: Tue Feb 7 23:05:29 2012
New Revision: 1241691
URL: http://svn.apache.org/viewvc?rev=1241691&view=rev
Log:
Only run the gnome keyring unlock function test when the needed function
is available. This should prevent test failures on platforms without
gnome-keyring.
* python/tests/client.py
(testGnomeKeyring): Make conditional.
Patch by: Matthijs Kooijman <ma...@stdin.nl>
Modified:
subversion/trunk/subversion/bindings/swig/python/tests/client.py
Modified: subversion/trunk/subversion/bindings/swig/python/tests/client.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/tests/client.py?rev=1241691&r1=1241690&r2=1241691&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/python/tests/client.py (original)
+++ subversion/trunk/subversion/bindings/swig/python/tests/client.py Tue Feb 7 23:05:29 2012
@@ -379,6 +379,8 @@ class SubversionClientTestCase(unittest.
# Not much more we can test in this minimal environment.
self.assert_(isinstance(providers, list))
+ @unittest.skipUnless(hasattr(core, 'svn_auth_set_gnome_keyring_unlock_prompt_func'),
+ "not supported on this platform")
def testGnomeKeyring(self):
# This tests setting the gnome-keyring unlock prompt function as an
# auth baton parameter. It doesn't actually call gnome-keyring