Fix imports as suggested by isort

even for unchanged files, because TravisCI build fails.
This commit is contained in:
niekas 2020-09-14 14:13:07 +03:00
parent 2c7c5c6548
commit d467616aaf
3 changed files with 4 additions and 6 deletions

View File

@ -127,8 +127,8 @@ class DaphneProcess(multiprocessing.Process):
from twisted.internet import reactor from twisted.internet import reactor
from .server import Server
from .endpoints import build_endpoint_description_strings from .endpoints import build_endpoint_description_strings
from .server import Server
try: try:
# Create the server class # Create the server class
@ -266,8 +266,8 @@ class TestApplication:
def _reinstall_reactor(): def _reinstall_reactor():
import sys
import asyncio import asyncio
import sys
from twisted.internet import asyncioreactor from twisted.internet import asyncioreactor

View File

@ -3,10 +3,9 @@
import collections import collections
from urllib import parse from urllib import parse
from hypothesis import assume, given, settings
import http_strategies import http_strategies
from http_base import DaphneTestCase from http_base import DaphneTestCase
from hypothesis import assume, given, settings
class TestHTTPRequest(DaphneTestCase): class TestHTTPRequest(DaphneTestCase):

View File

@ -1,9 +1,8 @@
# coding: utf8 # coding: utf8
from hypothesis import given, settings
import http_strategies import http_strategies
from http_base import DaphneTestCase from http_base import DaphneTestCase
from hypothesis import given, settings
class TestHTTPResponse(DaphneTestCase): class TestHTTPResponse(DaphneTestCase):