implements logging suggestions (no f-strings)

This commit is contained in:
Mose Müller
2023-11-27 17:16:15 +01:00
parent 617eed4d96
commit ab794d780b
11 changed files with 60 additions and 48 deletions

View File

@ -162,7 +162,7 @@ def test_load_state(tmp_path: Path, caplog: LogCaptureFixture):
"Ignoring value from JSON file..."
) in caplog.text
assert (
"Attribute type of 'removed_attr' changed from 'str' to None. "
"Attribute type of 'removed_attr' changed from 'str' to 'None'. "
"Ignoring value from JSON file..." in caplog.text
)
assert "Value of attribute 'subservice.name' has not changed..." in caplog.text