Machine ID for user/sentry & cleanups (#1928)

* Machine ID for user/sentry & cleanups

* Add tests / fix users
This commit is contained in:
Pascal Vizeli
2020-08-15 18:26:20 +02:00
committed by GitHub
parent b6509dca1f
commit 94f112512f
12 changed files with 17 additions and 25 deletions

View File

@@ -1,5 +1,6 @@
"""Common test functions."""
from unittest.mock import MagicMock, PropertyMock, patch
from uuid import uuid4
import pytest
@@ -39,6 +40,9 @@ async def coresys(loop, docker):
coresys_obj.ingress.save_data = MagicMock()
coresys_obj.arch._default_arch = "amd64"
coresys_obj._machine = "qemux86-64"
coresys_obj._machine_id = uuid4()
yield coresys_obj