testinggtk r304 - trunk/tests



Author: bjornl
Date: Sat Jun 28 18:09:32 2008
New Revision: 304
URL: http://svn.gnome.org/viewvc/testinggtk?rev=304&view=rev

Log:
Tests for the gtk.SeparatorMenuItem class

Added:
   trunk/tests/test_separatormenuitem.py

Added: trunk/tests/test_separatormenuitem.py
==============================================================================
--- (empty file)
+++ trunk/tests/test_separatormenuitem.py	Sat Jun 28 18:09:32 2008
@@ -0,0 +1,9 @@
+'''
+Tests for the ``gtk.SeparatorMenuItem`` class.
+'''
+import gobject
+import gtk
+
+def test_child_type():
+    separator = gtk.SeparatorMenuItem()
+    assert separator.child_type() == gobject.TYPE_NONE



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