Commit b9f24b4f authored by Martin Pitt's avatar Martin Pitt
Browse files

test_gdbus: Call GetConnectionUnixProcessID() with correct signature

https://bugzilla.gnome.org/show_bug.cgi?id=667954
parent 3ae38d75
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment