From a32c884196ffcaddd00e42733445bfbed0d8edcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20K=C3=A1rolyi?= Date: Sun, 27 May 2018 14:17:52 +0200 Subject: [PATCH] Posting tests --- daphne/cli.py | 1 - tests/test_cli.py | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/daphne/cli.py b/daphne/cli.py index 715ef14..adea81a 100755 --- a/daphne/cli.py +++ b/daphne/cli.py @@ -7,7 +7,6 @@ from .access import AccessLogGenerator from .endpoints import build_endpoint_description_strings from .server import Server from .utils import import_by_path -from argparse import ArgumentError, Namespace logger = logging.getLogger(__name__) diff --git a/tests/test_cli.py b/tests/test_cli.py index 2507f69..82f062d 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -192,14 +192,7 @@ class TestCLIInterface(TestCase): """ Tests entirely custom endpoints """ - self.assertCLI( - ["-e", "imap:"], - { - "endpoints": [ - "imap:", - ], - }, - ) + self.assertCLI(["-e", "imap:"], {"endpoints": ["imap:"]}) def test_default_proxyheaders(self): """