[testinggtk] fix test to match the bugzilla bug description.
- From: Björn Lindqvist <bjornl src gnome org>
- To: svn-commits-list gnome org
- Subject: [testinggtk] fix test to match the bugzilla bug description.
- Date: Fri, 10 Jul 2009 14:03:55 +0000 (UTC)
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]