diff mbox series

[1/7] auto-t: iwd.py: add DPP properties

Message ID 20220630180331.206419-1-prestwoj@gmail.com (mailing list archive)
State Accepted, archived
Headers show
Series [1/7] auto-t: iwd.py: add DPP properties | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success

Commit Message

James Prestwood June 30, 2022, 6:03 p.m. UTC
---
 autotests/util/iwd.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Denis Kenzior June 30, 2022, 6:38 p.m. UTC | #1
Hi James,

On 6/30/22 13:03, James Prestwood wrote:
> ---
>   autotests/util/iwd.py | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
> 

all applied, thanks.

Regards,
-Denis
diff mbox series

Patch

diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
index 5591d7e1..df310a32 100755
--- a/autotests/util/iwd.py
+++ b/autotests/util/iwd.py
@@ -294,6 +294,18 @@  class DeviceProvisioning(IWDDBusAbstract):
     def stop(self):
         self._iface.Stop()
 
+    @property
+    def uri(self):
+        return self._properties['URI']
+
+    @property
+    def started(self):
+        return self._properties['Started']
+
+    @property
+    def role(self):
+        return self._properties['Role']
+
 class Device(IWDDBusAbstract):
     '''
         Class represents a network device object: net.connman.iwd.Device