testinggtk r428 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r428 - trunk/tests
- Date: Tue, 9 Sep 2008 12:52:16 +0000 (UTC)
Author: bjornl
Date: Tue Sep 9 12:52:16 2008
New Revision: 428
URL: http://svn.gnome.org/viewvc/testinggtk?rev=428&view=rev
Log:
Check return val of widget.get_pango_context()
Modified:
trunk/tests/test_widget.py
Modified: trunk/tests/test_widget.py
==============================================================================
--- trunk/tests/test_widget.py (original)
+++ trunk/tests/test_widget.py Tue Sep 9 12:52:16 2008
@@ -6,6 +6,7 @@
import gobject
import gtk
from gtk import gdk
+import pango
import utils
def test_wrapper_complete():
@@ -61,6 +62,7 @@
assert isinstance(widget.get_colormap(), gdk.Colormap)
assert isinstance(widget.get_display(), gdk.Display)
assert isinstance(widget.get_modifier_style(), gtk.RcStyle)
+ assert isinstance(widget.get_pango_context(), pango.Context)
assert isinstance(widget.get_root_window(), gdk.Window)
assert isinstance(widget.get_screen(), gdk.Screen)
assert isinstance(widget.get_settings(), gtk.Settings)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]