File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1313import secrets
1414import string
1515
16+ import pytest
17+
1618# Testing
1719import aiohttp
1820from freezegun import freeze_time
19- import pytest
2021
2122pw_constants = importlib .import_module ("plugwise.constants" )
2223pw_exceptions = importlib .import_module ("plugwise.exceptions" )
@@ -697,13 +698,16 @@ def validate_test_basics(
697698 """Produce visual assertion of components base validation."""
698699 parent_logger .info ("Basics:" )
699700 if smile_type :
700- parent_logger .info (f" # Assert type matching { smile_type } " )
701+ log_msg = f" # Assert type matching { smile_type } "
702+ parent_logger .info (log_msg )
701703 assert smile .smile_type == smile_type
702704 if smile_version :
703- parent_logger .info (f" # Assert version matching '{ smile_version } " )
705+ log_msg = f" # Assert version matching '{ smile_version } "
706+ parent_logger .info (log_msg )
704707 assert smile .smile_version [0 ] == smile_version
705708 if smile_version :
706- parent_logger .info (f" # Assert legacy { smile_legacy } " )
709+ log_msg = f" # Assert legacy { smile_legacy } "
710+ parent_logger .info (log_msg )
707711 if smile_legacy :
708712 assert smile ._smile_legacy
709713 else :
You can’t perform that action at this time.
0 commit comments