testinggtk r175 - trunk/tests/gdk



Author: bjornl
Date: Sat Jun 21 00:42:09 2008
New Revision: 175
URL: http://svn.gnome.org/viewvc/testinggtk?rev=175&view=rev

Log:
Tests for the gtk.gdk package

Added:
   trunk/tests/gdk/
   trunk/tests/gdk/__init__.py

Added: trunk/tests/gdk/__init__.py
==============================================================================
--- (empty file)
+++ trunk/tests/gdk/__init__.py	Sat Jun 21 00:42:09 2008
@@ -0,0 +1,11 @@
+'''
+Tests for the ``gtk.gdk`` package.
+'''
+import gobject
+from gtk import gdk
+
+def test_modifier_type():
+    '''
+    Ensure that ``gdk.ModifierType`` is a ``GFlags`` type.
+    '''
+    gobject.type_parent(gdk.ModifierType) == gobject.GFlags



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]