change abc to raise NotImplementedError for tests

This commit is contained in:
2021-10-23 21:08:07 +01:00
parent 844a2f6f3f
commit 485ab9ef09
2 changed files with 9 additions and 2 deletions

View File

@@ -98,11 +98,11 @@ class LoggingData(metaclass=ABCMeta):
@property
@abstractmethod
def format(self) -> str:
pass
raise NotImplementedError
@abstractmethod
def __init__(self, logging_level: str):
self.logging_level = logging_level
raise NotImplementedError
class SimpleLogger(LoggingData):