Fix linting errors
This commit is contained in:
+1
-2
@@ -32,8 +32,7 @@ class TestBlinkAPI(unittest.TestCase):
|
||||
"Auth token expired, attempting reauthorization.")
|
||||
lastlog = ("ERROR:blinkpy.helpers.util:"
|
||||
"Endpoint {} failed. Possible issue with "
|
||||
"Blink servers.").format(
|
||||
'http://notreal.fake')
|
||||
"Blink servers.").format('http://notreal.fake')
|
||||
expected = [firstlog, nextlog, firstlog, lastlog]
|
||||
with self.assertLogs() as getlog:
|
||||
api.http_get(self.blink, 'http://notreal.fake')
|
||||
|
||||
@@ -14,7 +14,6 @@ from blinkpy.sync_module import BlinkSyncModule
|
||||
from blinkpy.helpers.util import (
|
||||
http_req, create_session, BlinkAuthenticationException,
|
||||
BlinkException, BlinkURLHandler)
|
||||
from blinkpy.helpers.constants import PROJECT_URL
|
||||
import tests.mock_responses as mresp
|
||||
|
||||
USERNAME = 'foobar'
|
||||
|
||||
Reference in New Issue
Block a user