updates tests

This commit is contained in:
Mose Müller
2023-12-11 09:15:22 +01:00
parent 0faf347376
commit 6d23151d32
2 changed files with 87 additions and 1 deletions

View File

@ -39,6 +39,9 @@ def test_warning(caplog: LogCaptureFixture) -> None:
class ServiceClass(DataService):
status = MyStatus.RUNNING
ServiceClass()
assert (
"Warning: Class MyStatus does not inherit from DataService." not in caplog.text
"Class 'MyStatus' does not inherit from DataService. This may lead to "
"unexpected behaviour!" not in caplog.text
)