mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-08 17:56:33 +00:00
Remove WipeDevice method from OS Agent DBus mock (#5744)
WipeDevice method was dropped from OS Agent code in [1]. Remove it from the mock class to sync with the current API. There is no usage of WipeDevice in the Supervisor codebase, only ScheduleWipeDevice is called. [1] https://github.com/home-assistant/os-agent/pull/225
This commit is contained in:
parent
d756fd7e14
commit
cb16a34401
@ -28,8 +28,3 @@ class System(DBusServiceMock):
|
||||
if isinstance(self.response_schedule_wipe_device, DBusError):
|
||||
raise self.response_schedule_wipe_device # pylint: disable=raising-bad-type
|
||||
return self.response_schedule_wipe_device
|
||||
|
||||
@dbus_method()
|
||||
def WipeDevice(self) -> "b":
|
||||
"""Wipe device."""
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user