testinggtk r175 - trunk/tests/gdk
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r175 - trunk/tests/gdk
- Date: Sat, 21 Jun 2008 00:42:09 +0000 (UTC)
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]