[pygobject/pygobject-3-2] test_gdbus: Call GetConnectionUnixProcessID() with correct signature



commit 926f08a94b38a4b3102e72b3fe19e886fa59f436
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 5db5d93..2ccf08a 100644
--- a/tests/test_gdbus.py
+++ b/tests/test_gdbus.py
@@ -128,7 +128,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]