Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pergolafabio committed Aug 24, 2023
1 parent 2b48cf5 commit e1cd273
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hikvision-doorbell/tests/test_doorbell.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def test_no_methods_available(self, mock_doorbell: Doorbell, mocker: MockerFixtu
with pytest.raises(RuntimeError):
mock_doorbell.get_num_outputs()


"""
def test_unlock_door(mock_doorbell: Doorbell):
# Set user ID to simulate a login
mock_doorbell.user_id = 0
Expand All @@ -181,3 +181,4 @@ def test_unlock_door_isapi(mock_doorbell: Doorbell):
mock_doorbell._sdk.NET_DVR_RemoteControl.assert_called_once() # type: ignore
# Check that ISAPI call has been made
mock_doorbell._sdk.NET_DVR_STDXMLConfig.assert_called_once() # type: ignore
"""

0 comments on commit e1cd273

Please sign in to comment.