mirror of
https://github.com/django/daphne.git
synced 2024-11-21 23:46:33 +03:00
fix tests
This commit is contained in:
parent
5ea0749c5f
commit
b1c238d377
|
@ -177,7 +177,7 @@ class CommandLineInterface(object):
|
|||
)
|
||||
logger.info(
|
||||
'Starting server at %s, channel layer %s.' %
|
||||
(endpoints.join(', '), args.channel_layer)
|
||||
(', '.join(endpoints), args.channel_layer)
|
||||
)
|
||||
|
||||
self.server = Server(
|
||||
|
|
|
@ -4,11 +4,11 @@ from unittest import TestCase
|
|||
from six import string_types
|
||||
import logging
|
||||
|
||||
from ..server import Server
|
||||
from ..server import Server, build_endpoint_description_strings
|
||||
from ..cli import CommandLineInterface
|
||||
|
||||
# this is the callable that will be tested here
|
||||
build = Server.build_endpoint_description_strings
|
||||
build = build_endpoint_description_strings
|
||||
|
||||
|
||||
class TestEndpointDescriptions(TestCase):
|
||||
|
|
Loading…
Reference in New Issue
Block a user