Skip to content

Commit

Permalink
chore(pre-commit.ci): auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 7, 2024
1 parent 4c81f0e commit 1d23987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/uiprotect/data/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def _process_ws_keyring_or_ulp_user_message(
new_obj=updated_obj,
old_obj=old_obj,
)
_LOGGER.debug("Unexpected ws action for %s: %s", model_type, action_type )
_LOGGER.debug("Unexpected ws action for %s: %s", model_type, action_type)
return None

def _process_nvr_update(
Expand Down
2 changes: 2 additions & 0 deletions tests/test_api_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,7 @@ def capture_ws(message: WSSubscriptionMessage) -> None:

unsub()


@patch("uiprotect.data.devices.utc_now")
@pytest.mark.asyncio()
async def test_ws_ulp_user_update_user_not_exist(
Expand Down Expand Up @@ -1251,6 +1252,7 @@ def capture_ws(message: WSSubscriptionMessage) -> None:

unsub()


@patch("uiprotect.data.devices.utc_now")
@pytest.mark.asyncio()
async def test_ws_ulp_user_unknown_action(
Expand Down

0 comments on commit 1d23987

Please sign in to comment.