mirror of
https://github.com/sprockets/sprockets-postgres.git
synced 2024-12-28 19:29:21 +00:00
Address flake8 errors
This commit is contained in:
parent
705be45ff1
commit
b620e1048c
2 changed files with 2 additions and 3 deletions
|
@ -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')
|
||||
|
|
3
tests.py
3
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)
|
||||
|
|
Loading…
Reference in a new issue