Skip to content

Commit

Permalink
no test needed for no methods available outputs = 0
Browse files Browse the repository at this point in the history
  • Loading branch information
pergolafabio committed Oct 1, 2023
1 parent 1a62256 commit 53962f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hikvision-doorbell/tests/test_doorbell.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def test_isapi_remote_control(self, mock_doorbell: Doorbell, mocker: MockerFixtu
outputs = mock_doorbell.get_num_outputs()
assert outputs == 2

"""
def test_no_methods_available(self, mock_doorbell: Doorbell, mocker: MockerFixture):
'''Raise exception if no more methods are available'''
# Set user ID to simulate a login
Expand All @@ -160,7 +161,6 @@ 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 Down

0 comments on commit 53962f9

Please sign in to comment.