testinggtk r174 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r174 - trunk/tests
- Date: Sat, 21 Jun 2008 00:39:16 +0000 (UTC)
Author: bjornl
Date: Sat Jun 21 00:39:16 2008
New Revision: 174
URL: http://svn.gnome.org/viewvc/testinggtk?rev=174&view=rev
Log:
Defaults test for gtk.Socket
Modified:
trunk/tests/test_socket.py
Modified: trunk/tests/test_socket.py
==============================================================================
--- trunk/tests/test_socket.py (original)
+++ trunk/tests/test_socket.py Sat Jun 21 00:39:16 2008
@@ -3,6 +3,10 @@
'''
import gtk
+def test_default_attributes():
+ socket = gtk.Socket()
+ assert socket.get_id() == 0
+
def test_realize():
'''
Realizing a ``gtk.Socket`` should set a flag in its flags.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]