testinggtk r418 - trunk/tests



Author: bjornl
Date: Mon Sep  8 11:10:06 2008
New Revision: 418
URL: http://svn.gnome.org/viewvc/testinggtk?rev=418&view=rev

Log:
Add tc for GtkDirectionType constants

Modified:
   trunk/tests/__init__.py

Modified: trunk/tests/__init__.py
==============================================================================
--- trunk/tests/__init__.py	(original)
+++ trunk/tests/__init__.py	Mon Sep  8 11:10:06 2008
@@ -116,6 +116,14 @@
     assert hasattr(gtk, 'TARGET_OTHER_APP')
     assert hasattr(gtk, 'TARGET_OTHER_WIDGET')
 
+def test_list_direction_enum():
+    assert hasattr(gtk, 'DIR_TAB_FORWARD')
+    assert hasattr(gtk, 'DIR_TAB_BACKWARD')
+    assert hasattr(gtk, 'DIR_UP')
+    assert hasattr(gtk, 'DIR_DOWN')
+    assert hasattr(gtk, 'DIR_LEFT')
+    assert hasattr(gtk, 'DIR_RIGHT')
+
 def test_grab_get_current():
     '''
     Ensure that ``gtk.grab_get_current`` returns ``None`` when no



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