1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Use session dbus for network tests (#4191)

* Use session dbus for network tests

* Don't use session dbus for coresys yet
This commit is contained in:
Mike Degatano
2023-03-17 09:26:41 -04:00
committed by GitHub
parent 8386b5cb3a
commit 0ddce4d9bc
28 changed files with 2547 additions and 420 deletions

View File

@@ -129,7 +129,7 @@ class Hostname(DBusServiceMock):
@dbus_method()
def GetProductUUID(self, interactive: "b") -> "ay":
"""Get product UUID."""
return bytearray("d153e353-2a32-4763-b930-b27fbc980da5", encoding="utf-8")
return b"d153e353-2a32-4763-b930-b27fbc980da5"
@dbus_method()
def Describe(self) -> "s":