autotests: support new errors

This commit is contained in:
Tim Kourt 2018-06-28 21:02:55 -07:00 committed by Denis Kenzior
parent d91b81bc11
commit 5eb043e501
1 changed files with 4 additions and 0 deletions

View File

@ -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,
}