Skip to content

Commit

Permalink
Merge branch 'master' into 795_unit_test_coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
robbrad authored Sep 3, 2024
2 parents fee8cf4 + f33767f commit f7d409d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.85.4 (2024-09-03)

### Fix

- #795 Unit Test Coverage

## 0.85.3 (2024-09-02)

### Fix
Expand Down
3 changes: 2 additions & 1 deletion custom_components/uk_bin_collection/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def __init__(self):

async def get_councils_json(self) -> object:
"""Returns an object of supported council's and their required fields."""
url = "https://raw.githubusercontent.com/robbrad/UKBinCollectionData/0.85.3/uk_bin_collection/tests/input.json"
# Fetch the JSON data from the provided URL
url = "https://raw.githubusercontent.com/robbrad/UKBinCollectionData/0.85.4/uk_bin_collection/tests/input.json"
async with aiohttp.ClientSession() as session:
async with session.get(url) as response:
data_text = await response.text()
Expand Down
4 changes: 2 additions & 2 deletions custom_components/uk_bin_collection/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"integration_type": "service",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/robbrad/UKBinCollectionData/issues",
"requirements": ["uk-bin-collection>=0.85.3"],
"version": "0.85.3",
"requirements": ["uk-bin-collection>=0.85.4"],
"version": "0.85.4",
"zeroconf": []
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "uk_bin_collection"
version = "0.85.3"
version = "0.85.4"
description = "Python Lib to collect UK Bin Data"
readme = "README.md"
authors = ["Robert Bradley <robbrad182@gmail.com>"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import logging
import re
from datetime import datetime
from uk_bin_collection.common import *
from uk_bin_collection.uk_bin_collection.common import *
from dateutil.parser import parse

from uk_bin_collection.uk_bin_collection.common import check_uprn, check_postcode
Expand Down

0 comments on commit f7d409d

Please sign in to comment.