fix tests

This commit is contained in:
Sean Mc Allister 2016-11-14 11:04:09 +01:00
parent 5ea0749c5f
commit b1c238d377
2 changed files with 3 additions and 3 deletions

View File

@ -177,7 +177,7 @@ class CommandLineInterface(object):
) )
logger.info( logger.info(
'Starting server at %s, channel layer %s.' % 'Starting server at %s, channel layer %s.' %
(endpoints.join(', '), args.channel_layer) (', '.join(endpoints), args.channel_layer)
) )
self.server = Server( self.server = Server(

View File

@ -4,11 +4,11 @@ from unittest import TestCase
from six import string_types from six import string_types
import logging import logging
from ..server import Server from ..server import Server, build_endpoint_description_strings
from ..cli import CommandLineInterface from ..cli import CommandLineInterface
# this is the callable that will be tested here # this is the callable that will be tested here
build = Server.build_endpoint_description_strings build = build_endpoint_description_strings
class TestEndpointDescriptions(TestCase): class TestEndpointDescriptions(TestCase):