One final attempt to get coverage to work...
I'm just hoping something sticks!
This commit is contained in:
@@ -83,7 +83,8 @@ class TestBlinkSetup(unittest.TestCase):
|
||||
|
||||
with self.assertRaises(blinkpy.BlinkAuthenticationException):
|
||||
# pylint: disable=protected-access
|
||||
blinkpy.blinkpy._request(None, reqtype='get', is_retry=False)
|
||||
self.blink.setup_system()
|
||||
blinkpy.blinkpy._request(None, reqtype='post', is_retry=False)
|
||||
|
||||
@mock.patch('blinkpy.blinkpy.requests.post',
|
||||
side_effect=mresp.mocked_requests_post)
|
||||
|
||||
Reference in New Issue
Block a user