mirror of
https://github.com/django/daphne.git
synced 2024-12-01 03:43:43 +03:00
Fix imports as suggested by isort
even for unchanged files, because TravisCI build fails.
This commit is contained in:
parent
2c7c5c6548
commit
d467616aaf
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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):
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user