Address flake8 errors

This commit is contained in:
Gavin M. Roy 2020-04-06 18:20:34 -04:00
parent 705be45ff1
commit b620e1048c
2 changed files with 2 additions and 3 deletions

View file

@ -18,7 +18,7 @@ from distutils import util
import aiopg import aiopg
import psycopg2 import psycopg2
from aiopg import pool from aiopg import pool
from psycopg2 import errors, extras, extensions from psycopg2 import errors, extensions, extras
from tornado import ioloop, web from tornado import ioloop, web
LOGGER = logging.getLogger('sprockets-postgres') LOGGER = logging.getLogger('sprockets-postgres')

View file

@ -1,8 +1,8 @@
import asyncio import asyncio
import json import json
import os import os
from unittest import mock
import uuid import uuid
from unittest import mock
import psycopg2 import psycopg2
from psycopg2 import errors from psycopg2 import errors
@ -83,7 +83,6 @@ class ExecuteTestCase(testing.SprocketsHttpTestCase):
]) ])
return self.app return self.app
def test_postgres_status(self): def test_postgres_status(self):
response = self.fetch('/status') response = self.fetch('/status')
data = json.loads(response.body) data = json.loads(response.body)