From 5eb043e5012c3d96af2f23e688eabbd37c321c30 Mon Sep 17 00:00:00 2001 From: Tim Kourt Date: Thu, 28 Jun 2018 21:02:55 -0700 Subject: [PATCH] autotests: support new errors --- autotests/util/iwd.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py index 4129b946..32b2dd18 100755 --- a/autotests/util/iwd.py +++ b/autotests/util/iwd.py @@ -53,6 +53,8 @@ class NotConnectedEx(dbus.DBusException): pass class NotConfiguredEx(dbus.DBusException): pass class NotImplementedEx(dbus.DBusException): pass class ServiceSetOverlapEx(dbus.DBusException): pass +class AlreadyProvisionedEx(dbus.DBusException): pass +class NotHiddenEx(dbus.DBusException): pass class CanceledEx(dbus.DBusException): _dbus_error_name = 'net.connman.iwd.Error.Canceled' @@ -72,6 +74,8 @@ _dbus_ex_to_py = { 'NotConfigured' : NotConfiguredEx, 'NotImplemented' : NotImplementedEx, 'ServiceSetOverlap' : ServiceSetOverlapEx, + 'AlreadyProvisioned' : AlreadyProvisionedEx, + 'NotHidden' : NotHiddenEx, }