testinggtk r304 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r304 - trunk/tests
- Date: Sat, 28 Jun 2008 18:09:32 +0000 (UTC)
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]