Skip to content

Commit 444a675

Browse files
author
autoruff
committed
fixup: anna-thermozone Python code fixed using ruff
1 parent cdd57ac commit 444a675

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/test_init.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ async def _write_json(self, file_path, call, data):
5858
return # pragma: no cover
5959

6060
path = os.path.join(
61-
os.path.dirname(__file__), file_path,
61+
os.path.dirname(__file__),
62+
file_path,
6263
)
6364
datafile = os.path.join(path, call + ".json")
6465
if not os.path.exists(path): # pragma: no cover
@@ -591,7 +592,9 @@ def test_and_assert(test_dict, data, header):
591592
prefix = "anna"
592593
_LOGGER.debug("HOI prefix = %s", prefix)
593594
_LOGGER.debug("HOI path = %s", f"../tests/data/{prefix}/")
594-
await self._write_json(f"../tests/data/{prefix}/", self.smile_setup, {"devices": data})
595+
await self._write_json(
596+
f"../tests/data/{prefix}/", self.smile_setup, {"devices": data}
597+
)
595598

596599
if "FIXTURES" in os.environ:
597600
_LOGGER.info("Skipping tests-: Requested fixtures only") # pragma: no cover

0 commit comments

Comments
 (0)