[pygobject] test_gdbus: Call GetConnectionUnixProcessID() with correct signature



commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
Author: Martin Pitt <martinpitt gnome org>
Date:   Mon Apr 23 20:09:43 2012 +0200

    test_gdbus: Call GetConnectionUnixProcessID() with correct signature
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667954

 tests/test_gdbus.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_gdbus.py b/tests/test_gdbus.py
index eafb6db..afd18c7 100644
--- a/tests/test_gdbus.py
+++ b/tests/test_gdbus.py
@@ -129,7 +129,7 @@ class TestGDBusClient(unittest.TestCase):
 
         # test keyword argument; timeout=0 will fail immediately
         try:
-            self.dbus_proxy.GetConnectionUnixProcessID('()', timeout=0)
+            self.dbus_proxy.GetConnectionUnixProcessID('(s)', '1', timeout=0)
             self.fail('call with timeout=0 should raise an exception')
         except Exception as e:
             self.assertTrue('Timeout' in str(e), str(e))



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