Skip to content

Commit 46fa204

Browse files
authored
Bump twentemilieu to 0.3.0 (#33622)
* Bump twentemilieu to 0.3.0 * Fix tests
1 parent debc1f7 commit 46fa204

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

homeassistant/components/twentemilieu/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"name": "Twente Milieu",
44
"config_flow": true,
55
"documentation": "https://www.home-assistant.io/integrations/twentemilieu",
6-
"requirements": ["twentemilieu==0.2.0"],
6+
"requirements": ["twentemilieu==0.3.0"],
77
"codeowners": ["@frenck"]
88
}

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ transmissionrpc==0.11
20462046
tuyaha==0.0.5
20472047

20482048
# homeassistant.components.twentemilieu
2049-
twentemilieu==0.2.0
2049+
twentemilieu==0.3.0
20502050

20512051
# homeassistant.components.twilio
20522052
twilio==6.32.0

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ toonapilib==3.2.4
746746
transmissionrpc==0.11
747747

748748
# homeassistant.components.twentemilieu
749-
twentemilieu==0.2.0
749+
twentemilieu==0.3.0
750750

751751
# homeassistant.components.twilio
752752
twilio==6.32.0

tests/components/twentemilieu/test_config_flow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async def test_show_set_form(hass):
3434
async def test_connection_error(hass, aioclient_mock):
3535
"""Test we show user form on Twente Milieu connection error."""
3636
aioclient_mock.post(
37-
"https://wasteapi.2go-mobile.com/api/FetchAdress", exc=aiohttp.ClientError
37+
"https://twentemilieuapi.ximmio.com/api/FetchAdress", exc=aiohttp.ClientError
3838
)
3939

4040
flow = config_flow.TwenteMilieuFlowHandler()
@@ -49,7 +49,7 @@ async def test_connection_error(hass, aioclient_mock):
4949
async def test_invalid_address(hass, aioclient_mock):
5050
"""Test we show user form on Twente Milieu invalid address error."""
5151
aioclient_mock.post(
52-
"https://wasteapi.2go-mobile.com/api/FetchAdress",
52+
"https://twentemilieuapi.ximmio.com/api/FetchAdress",
5353
json={"dataList": []},
5454
headers={"Content-Type": "application/json"},
5555
)
@@ -70,7 +70,7 @@ async def test_address_already_set_up(hass, aioclient_mock):
7070
)
7171

7272
aioclient_mock.post(
73-
"https://wasteapi.2go-mobile.com/api/FetchAdress",
73+
"https://twentemilieuapi.ximmio.com/api/FetchAdress",
7474
json={"dataList": [{"UniqueId": "12345"}]},
7575
headers={"Content-Type": "application/json"},
7676
)
@@ -86,7 +86,7 @@ async def test_address_already_set_up(hass, aioclient_mock):
8686
async def test_full_flow_implementation(hass, aioclient_mock):
8787
"""Test registering an integration and finishing flow works."""
8888
aioclient_mock.post(
89-
"https://wasteapi.2go-mobile.com/api/FetchAdress",
89+
"https://twentemilieuapi.ximmio.com/api/FetchAdress",
9090
json={"dataList": [{"UniqueId": "12345"}]},
9191
headers={"Content-Type": "application/json"},
9292
)

0 commit comments

Comments
 (0)