commit 2521830d3e45ad29f9516210d312f815d61aeae7
parent 206bfbdf3a8265cb12c85e983117e1aadcca7692
Author: Denis Kenzior <denkenz@gmail.com>
Date: Thu, 24 Oct 2019 10:54:45 -0500
auto-t: Update to use InvalidArguments error
Diffstat:
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
@@ -48,7 +48,7 @@ class InProgressEx(dbus.DBusException): pass
class FailedEx(dbus.DBusException): pass
class AbortedEx(dbus.DBusException): pass
class NotAvailableEx(dbus.DBusException): pass
-class InvalidArgsEx(dbus.DBusException): pass
+class InvalidArgumentsEx(dbus.DBusException): pass
class InvalidFormatEx(dbus.DBusException): pass
class AlreadyExistsEx(dbus.DBusException): pass
class NotFoundEx(dbus.DBusException): pass
@@ -65,23 +65,23 @@ class CanceledEx(dbus.DBusException):
_dbus_ex_to_py = {
- 'Canceled' : CanceledEx,
- 'InProgress' : InProgressEx,
- 'Failed' : FailedEx,
- 'Aborted' : AbortedEx,
- 'NotAvailable' : NotAvailableEx,
- 'InvalidArgs' : InvalidArgsEx,
- 'InvalidFormat' : InvalidFormatEx,
- 'AlreadyExists' : AlreadyExistsEx,
- 'NotFound' : NotFoundEx,
- 'NotSupported' : NotSupportedEx,
- 'NoAgent' : NoAgentEx,
- 'NotConnected' : NotConnectedEx,
- 'NotConfigured' : NotConfiguredEx,
- 'NotImplemented' : NotImplementedEx,
- 'ServiceSetOverlap' : ServiceSetOverlapEx,
- 'AlreadyProvisioned' : AlreadyProvisionedEx,
- 'NotHidden' : NotHiddenEx,
+ 'Canceled' : CanceledEx,
+ 'InProgress' : InProgressEx,
+ 'Failed' : FailedEx,
+ 'Aborted' : AbortedEx,
+ 'NotAvailable' : NotAvailableEx,
+ 'InvalidArguments' : InvalidArgumentsEx,
+ 'InvalidFormat' : InvalidFormatEx,
+ 'AlreadyExists' : AlreadyExistsEx,
+ 'NotFound' : NotFoundEx,
+ 'NotSupported' : NotSupportedEx,
+ 'NoAgent' : NoAgentEx,
+ 'NotConnected' : NotConnectedEx,
+ 'NotConfigured' : NotConfiguredEx,
+ 'NotImplemented' : NotImplementedEx,
+ 'ServiceSetOverlap' : ServiceSetOverlapEx,
+ 'AlreadyProvisioned' : AlreadyProvisionedEx,
+ 'NotHidden' : NotHiddenEx,
}
@@ -445,7 +445,7 @@ class Device(IWDDBusAbstract):
'''Connect to a hidden network
Possible exception: BusyEx
FailedEx
- InvalidArgsEx
+ InvalidArgumentsEx
NotConfiguredEx
NotConnectedEx
NotFoundEx