Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
titilambert committed Jan 24, 2021
1 parent 84ba7e0 commit 2b06d8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyhydroquebec/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ def __init__(self, username, password, timeout=REQUESTS_TIMEOUT,
self._timeout = timeout
self._session = session
self.guid = str(uuid.uuid1())
self.reset()
self.logger = _get_logger(log_level)
self.logger.debug("Loaded llluis' pyHydroQuebec")
self.logger.debug("PyHydroQuebec initialized")
self.reset()

def reset(self):
"""Reset collected data and temporary variable."""
self._customers = []
self.access_token = None
self.cookies = {}
Expand Down

0 comments on commit 2b06d8a

Please sign in to comment.