refactor nothing part 2
This commit is contained in:
parent
f6cd0ef986
commit
36c8ca48a8
2
test/fixtures/input.py
vendored
2
test/fixtures/input.py
vendored
@ -6,7 +6,7 @@ import pytest
|
||||
from PIL import Image
|
||||
from funcy import lmap, compose, flatten, lflatten, omit, second, first, lzip, merge
|
||||
|
||||
from pyinfra.server.dispatcher.dispatcher import Nothing
|
||||
from pyinfra.server.nothing import Nothing
|
||||
from pyinfra.server.normalization import normalize_item
|
||||
from pyinfra.server.packing import pack, unpack
|
||||
from pyinfra.utils.func import star, lift, lstarlift
|
||||
|
||||
2
test/fixtures/server.py
vendored
2
test/fixtures/server.py
vendored
@ -14,7 +14,7 @@ from PIL import Image
|
||||
from funcy import retry, project, omit
|
||||
from waitress import serve
|
||||
|
||||
from pyinfra.server.dispatcher.dispatcher import Nothing
|
||||
from pyinfra.server.nothing import Nothing
|
||||
from pyinfra.server.server import (
|
||||
set_up_processing_server,
|
||||
)
|
||||
|
||||
@ -3,7 +3,7 @@ from funcy import compose, lmapcat, compact, flatten, identity
|
||||
|
||||
from pyinfra.exceptions import NoBufferCapacity
|
||||
from pyinfra.server.buffering.bufferize import bufferize
|
||||
from pyinfra.server.dispatcher.dispatcher import Nothing
|
||||
from pyinfra.server.nothing import Nothing
|
||||
|
||||
|
||||
def test_buffer(buffer_size):
|
||||
|
||||
@ -3,7 +3,7 @@ from funcy import rcompose, compose, project, merge
|
||||
|
||||
from pyinfra.server.buffering.stream import FlatStreamBuffer
|
||||
from pyinfra.server.client_pipeline import ClientPipeline
|
||||
from pyinfra.server.dispatcher.dispatcher import Nothing
|
||||
from pyinfra.server.nothing import Nothing
|
||||
from pyinfra.server.dispatcher.dispatchers.queue import QueuedStreamFunctionDispatcher
|
||||
from pyinfra.server.dispatcher.dispatchers.rest import RestDispatcher
|
||||
from pyinfra.server.interpreter.interpreters.identity import IdentityInterpreter
|
||||
|
||||
@ -2,7 +2,7 @@ import pytest
|
||||
from funcy import repeatedly, takewhile, notnone, lmap, lmapcat, lflatten
|
||||
|
||||
from pyinfra.server.buffering.stream import FlatStreamBuffer, StreamBuffer
|
||||
from pyinfra.server.dispatcher.dispatcher import Nothing
|
||||
from pyinfra.server.nothing import Nothing
|
||||
from pyinfra.server.stream.queued_stream_function import QueuedStreamFunction
|
||||
from pyinfra.utils.func import lift, foreach, starlift
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user