mirror of
https://github.com/sprockets/sprockets-postgres.git
synced 2024-12-29 19:25:06 +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 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')
|
||||||
|
|
3
tests.py
3
tests.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue