testinggtk r155 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r155 - trunk/tests
- Date: Fri, 20 Jun 2008 20:27:38 +0000 (UTC)
Author: bjornl
Date: Fri Jun 20 20:27:38 2008
New Revision: 155
URL: http://svn.gnome.org/viewvc/testinggtk?rev=155&view=rev
Log:
Tests for the gtk.Plug class
Added:
trunk/tests/test_plug.py
Added: trunk/tests/test_plug.py
==============================================================================
--- (empty file)
+++ trunk/tests/test_plug.py Fri Jun 20 20:27:38 2008
@@ -0,0 +1,8 @@
+'''
+Tests for the ``gtk.Plug`` class.
+'''
+import gtk
+
+def test_default_attributes():
+ plug = gtk.Plug(0L)
+ assert plug.get_id() == 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]