testinggtk r254 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r254 - trunk/tests
- Date: Wed, 25 Jun 2008 21:45:36 +0000 (UTC)
Author: bjornl
Date: Wed Jun 25 21:45:36 2008
New Revision: 254
URL: http://svn.gnome.org/viewvc/testinggtk?rev=254&view=rev
Log:
Tests for gtk.ToggleToolButton
Added:
trunk/tests/test_toggletoolbutton.py
Added: trunk/tests/test_toggletoolbutton.py
==============================================================================
--- (empty file)
+++ trunk/tests/test_toggletoolbutton.py Wed Jun 25 21:45:36 2008
@@ -0,0 +1,8 @@
+'''
+Tests for the ``gtk.ToggleToolButton class``.
+'''
+import gtk
+
+def test_default_attributes():
+ ttb = gtk.ToggleToolButton()
+ assert not ttb.get_active()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]