mirror of
https://github.com/django/daphne.git
synced 2025-07-28 16:09:45 +03:00
Posting tests
This commit is contained in:
parent
72f82b9e1a
commit
a32c884196
|
@ -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__)
|
||||
|
||||
|
|
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user