Skip to contentSkip to conversation

auto-t: fix SignalAgent Release arguments

PATCH Applied James Prestwood 2 participants 2 messages Dec 11, 2023 – Dec 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 auto-t: fix SignalAgent Release arguments

The path for IWD to call this doesn't ever happen in autotests but during debugging of the DPP agent it was noticed that the DBus signature was incorrect and would always result in an error when calling from IWD.

---
 autotests/util/iwd.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
autotests/util/iwd.py +3 -3
index 3f200beb..ddd021b0 100755
@@ -201,9 +201,9 @@ class SignalAgent(dbus.service.Object):
         return self._path
 
     @dbus.service.method(IWD_SIGNAL_AGENT_INTERFACE,
-                         in_signature='', out_signature='')
-    def Release(self):
-        print("SignalAgent released")
+                         in_signature='o', out_signature='')
+    def Release(self, path):
+        print("SignalAgent released %s" % path)
 
     @dbus.service.method(IWD_SIGNAL_AGENT_INTERFACE,
                          in_signature='oy', out_signature='')
Signature · 1 line
2.34.1
#1 lore raw

Hi James,

Quoted 8 lines · James Prestwood

The path for IWD to call this doesn't ever happen in autotests but during debugging of the DPP agent it was noticed that the DBus signature was incorrect and would always result in an error when calling from IWD.

---
  autotests/util/iwd.py | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Regards,
-Denis