advanced-python-homework/tests/controls/test_device.py

13 lines
275 B
Python
Raw Permalink Normal View History

2023-10-13 22:33:07 +03:00
from unittest import TestCase
from controls.device import DeviceLifecycleState
class DeviceLifecycleStateTest(TestCase):
def setUp(self) -> None:
pass
def test_enum(self):
2023-10-25 20:12:40 +03:00
self.assertEqual(DeviceLifecycleState["INIT"], DeviceLifecycleState.INIT)