summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-08-01 16:35:48 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-08-01 16:35:48 +0000
commit60d03ac1b8f211e805ea129b54d2a60b40627255 (patch)
tree6e8372c0f45de7a9bee01c4d6bc9d9e6131a0ac0 /tests
parentbaee1fed7d769e6e2e31c046e19a2d3818ae27f7 (diff)
downloadpygobject-60d03ac1b8f211e805ea129b54d2a60b40627255.tar.gz
pygobject-60d03ac1b8f211e805ea129b54d2a60b40627255.tar.xz
pygobject-60d03ac1b8f211e805ea129b54d2a60b40627255.zip
Bug 545846 – g_vfs_get_supported_uri_schemes is missing
2008-08-01 Johan Dahlin <johan@gnome.org> Bug 545846 – g_vfs_get_supported_uri_schemes is missing * gio/gio.defs: * gio/gio.override: * tests/test_gio.py: Wrap, add test and documentation svn path=/trunk/; revision=904
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gio.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_gio.py b/tests/test_gio.py
index 4acb387..39f7796 100644
--- a/tests/test_gio.py
+++ b/tests/test_gio.py
@@ -443,3 +443,11 @@ class TestAppInfo(unittest.TestCase):
def testSimple(self):
self.assertEquals(self.appinfo.get_description(),
"Custom definition for does-not-exist")
+
+class TestVfs(unittest.TestCase):
+ def setUp(self):
+ self.vfs = gio.vfs_get_default()
+
+ def testGetSupportedURISchemes(self):
+ result = self.vfs.get_supported_uri_schemes()
+ self.failUnless(isinstance(result, [])