#2151 and #2166: added tests for application being unused + even more tests

This commit is contained in:
Czar Echavez
2024-01-10 11:58:36 +00:00
parent a4d372d3eb
commit c985b8793d
9 changed files with 82 additions and 18 deletions

View File

@@ -1,3 +1,4 @@
from abc import abstractmethod
from enum import Enum
from typing import Any, Dict, Optional
@@ -95,6 +96,7 @@ class Service(IOSoftware):
rm.add_request("enable", RequestType(func=lambda request, context: self.enable()))
return rm
@abstractmethod
def describe_state(self) -> Dict:
"""
Produce a dictionary describing the current state of this object.