Skip to content

Commit

Permalink
rename param 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Nov 2, 2024
1 parent 4431359 commit 6b6648b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/tests_rf/test_token_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ async def _test_evo_update_00(
assert evo._user_information is None
assert evo._installation_config is None

await evo.update(reset_config=False, disable_status_update=False)
await evo.update(reset_config=False, dont_update_status=False)

assert evo._user_information
assert evo._installation_config
Expand Down
4 changes: 2 additions & 2 deletions tests/tests_rf/test_v2_apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def _test_basics_apis(evo: evo2.EvohomeClient) -> None:
"""Test authentication, `user_account()` and `installation()`."""

# STEP 1: retrieve base data
await evo.update(disable_status_update=False)
await evo.update(dont_update_status=False)

assert SCH_USER_ACCOUNT(evo._installation_config)
assert SCH_FULL_CONFIG(evo._user_information)
Expand Down Expand Up @@ -74,7 +74,7 @@ async def _test_update_apis(evo: evo2.EvohomeClient) -> None:
"""Test `_update()` for DHW/zone."""

# STEP 1: retrieve config
await evo.update(disable_status_update=True)
await evo.update(dont_update_status=True)

# STEP 2: GET /{x.TYPE}/{x.id}/status
if dhw := evo._get_single_tcs().hotwater:
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_rf/test_v2_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def _test_task_id(evo: evo2.EvohomeClient) -> None:
gwy: Gateway
tcs: ControlSystem

_ = await evo.update(disable_status_update=True)
_ = await evo.update(dont_update_status=True)

for loc in evo.locations:
for gwy in loc.gateways:
Expand Down
4 changes: 2 additions & 2 deletions tests/tests_rf/test_v2_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async def _test_all_config(evo: evo2.EvohomeClient) -> None:
async def _test_loc_status(evo: evo2.EvohomeClient) -> None:
"""Test /location/{loc.id}/status"""

_ = await evo.update(disable_status_update=True)
_ = await evo.update(dont_update_status=True)

loc = evo.locations[0]
#
Expand Down Expand Up @@ -137,7 +137,7 @@ async def _test_loc_status(evo: evo2.EvohomeClient) -> None:
async def _test_tcs_mode(evo: evo2.EvohomeClient) -> None:
"""Test /temperatureControlSystem/{tcs.id}/mode"""

_ = await evo.update(disable_status_update=True)
_ = await evo.update(dont_update_status=True)

tcs: evo2.ControlSystem

Expand Down

0 comments on commit 6b6648b

Please sign in to comment.