Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pluimvee committed Oct 9, 2024
1 parent 0bd066f commit aaf9d61
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 109 deletions.
Binary file modified custom_components/entsoe/__pycache__/api_client.cpython-312.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion custom_components/entsoe/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def query_day_ahead_prices(
# lets process the received document
def parse_price_document(self, document: str) -> str:

root = self._remove_namespace(ET.fromstring(response.content))
root = self._remove_namespace(ET.fromstring(document))
_LOGGER.debug(f"content: {root}")
series = {}

Expand Down
Loading

0 comments on commit aaf9d61

Please sign in to comment.