Skip to content

Commit

Permalink
[#27] In a Github workflow, run unit tests inside a HA DevContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane Senart committed Jan 12, 2025
1 parent 138491f commit 80c35b4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gazpar2haws/gazpar.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,14 @@ def _create_data_source(self) -> pygazpar.datasource.IDataSource:

if self._data_source == "excel":
return pygazpar.ExcelWebDataSource(
username=self._username, password=self._password, tmpDirectory=self._tmp_dir
username=self._username,
password=self._password,
tmpDirectory=self._tmp_dir,
)

return pygazpar.JsonWebDataSource(username=self._username, password=self._password)
return pygazpar.JsonWebDataSource(
username=self._username, password=self._password
)

# ----------------------------------
# Find last date, days and value of the entity.
Expand Down

0 comments on commit 80c35b4

Please # to comment.