diff --git a/blinkpy/helpers/util.py b/blinkpy/helpers/util.py index a06fe21..710f7bb 100644 --- a/blinkpy/helpers/util.py +++ b/blinkpy/helpers/util.py @@ -2,7 +2,7 @@ import logging from requests import Request, Session, exceptions -from blinkpy.helpers.constants import BLINK_URL, PROJECT_URL +from blinkpy.helpers.constants import BLINK_URL import blinkpy.helpers.errors as ERROR diff --git a/tests/test_api.py b/tests/test_api.py index 7b516aa..e5f7399 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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') diff --git a/tests/test_blinkpy.py b/tests/test_blinkpy.py index 87b1aa8..444581c 100644 --- a/tests/test_blinkpy.py +++ b/tests/test_blinkpy.py @@ -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'