Skip to content

Commit a9ea7e2

Browse files
fix test (#13)
1 parent 628ec7f commit a9ea7e2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Tibber/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get_home(self, home_id):
113113
"""Retun an instance of TibberHome for given home id."""
114114
if home_id not in self._home_ids:
115115
_LOGGER.error("Could not find any Tibber home with id: %s",
116-
home_id)
116+
home_id)
117117
return None
118118
if home_id not in self._homes.keys():
119119
self._homes[home_id] = TibberHome(home_id, self._execute)
@@ -342,4 +342,4 @@ def price_unit(self):
342342
if not currency or not consumption_unit:
343343
_LOGGER.error("Could not find price_unit.")
344344
return ''
345-
return currency + '/' + consumption_unit
345+
return currency + '/' + consumption_unit

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ commands =
1515
basepython = python3
1616
ignore_errors = True
1717
commands =
18-
- pip install flake8 pylint gql aiohttp==2.2.5 async_timeout==1.4.0
19-
- flake8 Tibber --max-line-length=120
20-
- pylint Tibber --max-line-length=120
18+
pip install flake8 pylint gql aiohttp==2.2.5 async_timeout==1.4.0
19+
flake8 Tibber --max-line-length=120
20+
pylint Tibber --max-line-length=120

0 commit comments

Comments
 (0)