[testinggtk] fix test to match the bugzilla bug description.



commit 861c7f934dc4b4811f283bdd58307bc1f3baf23d
Author: Björn Lindqvist <bjourne gmail com>
Date:   Fri Jul 10 11:23:43 2009 +0200

    fix test to match the bugzilla bug description.

 tests/test_plug.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_plug.py b/tests/test_plug.py
index 128dd2d..c30a60f 100644
--- a/tests/test_plug.py
+++ b/tests/test_plug.py
@@ -6,10 +6,13 @@ from gtk import gdk
 
 def test_default_attributes():
     '''
+    This test ensures that no segfault occurs when creating a plug
+    with window_id 0.
+
     :bug: #539363
     '''
     plug = gtk.Plug(0L)
-    assert plug.get_id() == 0
+    plug.get_id()
 
 def test_overflowing_socket_id():
     try:



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