commit eaf176220c9ca2a553694977e39411a10a335937
parent 799ab03f594ed03d4cf5b3f93b0045060500a5bb
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 17 Dec 2020 11:36:03 -0800
auto-t: fix hwsim.py to use Destroy rather than Remove
There is no Remove() method, but since this code never was used it
remained incorrect for quite some time.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autotests/util/hwsim.py b/autotests/util/hwsim.py
@@ -203,7 +203,7 @@ class Radio(HwsimDBusAbstract):
return [str(addr) for addr in self._properties['Addresses']]
def remove(self):
- self._iface.Remove(reply_handler=self._success,
+ self._iface.Destroy(reply_handler=self._success,
error_handler=self._failure)
self._wait_for_async_op()