From b620e1048cc09c492cdc87d0666f1683fbd8abc8 Mon Sep 17 00:00:00 2001 From: "Gavin M. Roy" Date: Mon, 6 Apr 2020 18:20:34 -0400 Subject: [PATCH] Address flake8 errors --- sprockets_postgres.py | 2 +- tests.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sprockets_postgres.py b/sprockets_postgres.py index ca07fa9..d7ab758 100644 --- a/sprockets_postgres.py +++ b/sprockets_postgres.py @@ -18,7 +18,7 @@ from distutils import util import aiopg import psycopg2 from aiopg import pool -from psycopg2 import errors, extras, extensions +from psycopg2 import errors, extensions, extras from tornado import ioloop, web LOGGER = logging.getLogger('sprockets-postgres') diff --git a/tests.py b/tests.py index 31013ac..2294ff8 100644 --- a/tests.py +++ b/tests.py @@ -1,8 +1,8 @@ import asyncio import json import os -from unittest import mock import uuid +from unittest import mock import psycopg2 from psycopg2 import errors @@ -83,7 +83,6 @@ class ExecuteTestCase(testing.SprocketsHttpTestCase): ]) return self.app - def test_postgres_status(self): response = self.fetch('/status') data = json.loads(response.body)