testinggtk r307 - trunk/tests/gobjecttests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r307 - trunk/tests/gobjecttests
- Date: Sun, 29 Jun 2008 02:24:39 +0000 (UTC)
Author: bjornl
Date: Sun Jun 29 02:24:39 2008
New Revision: 307
URL: http://svn.gnome.org/viewvc/testinggtk?rev=307&view=rev
Log:
Test for gobject.markup_escape_text
Modified:
trunk/tests/gobjecttests/__init__.py
Modified: trunk/tests/gobjecttests/__init__.py
==============================================================================
--- trunk/tests/gobjecttests/__init__.py (original)
+++ trunk/tests/gobjecttests/__init__.py Sun Jun 29 02:24:39 2008
@@ -23,6 +23,14 @@
class MySub(gobject.GObject):
prop = gobject.property(type = gobject.TYPE_ENUM)
+def test_markup_escape_text():
+ '''
+ Ensure that ``gobject.markup_escape_text`` works as expected.
+
+ :bug: #540696
+ '''
+ assert gobject.markup_escape_text('Hi') == 'Hi'
+
def test_list_types():
'''
Ensure that all required object types are defined in the gobject
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]