testinggtk r193 - trunk/tests/gio
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r193 - trunk/tests/gio
- Date: Sat, 21 Jun 2008 15:31:29 +0000 (UTC)
Author: bjornl
Date: Sat Jun 21 15:31:29 2008
New Revision: 193
URL: http://svn.gnome.org/viewvc/testinggtk?rev=193&view=rev
Log:
Tests for URI handling
Added:
trunk/tests/gio/test_uri.py
Added: trunk/tests/gio/test_uri.py
==============================================================================
--- (empty file)
+++ trunk/tests/gio/test_uri.py Sat Jun 21 15:31:29 2008
@@ -0,0 +1,9 @@
+'''
+Tests for URI handling, parsing, escaping and similar issues.
+'''
+import gio
+
+def test_path_to_uri():
+ file = gio.file_parse_name('/foo/bar')
+ assert file.get_uri() == 'file:///foo/bar'
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]