autobahn.asyncio.test.test_wamp_runner
Module Contents¶
Classes¶
Test the autobahn.asyncio.wamp.ApplicationRunner class. |
- class autobahn.asyncio.test.test_wamp_runner.TestApplicationRunner(methodName='runTest')[source]¶
Bases:
unittest.TestCase
Test the autobahn.asyncio.wamp.ApplicationRunner class.
- test_explicit_SSLContext()[source]¶
Ensure that loop.create_connection is called with the exact SSL context object that is passed (as ssl) to the __init__ method of ApplicationRunner.
- test_omitted_SSLContext_insecure()[source]¶
Ensure that loop.create_connection is called with ssl=False if no ssl argument is passed to the __init__ method of ApplicationRunner and the websocket URL starts with “ws:”.
- test_omitted_SSLContext_secure()[source]¶
Ensure that loop.create_connection is called with ssl=True if no ssl argument is passed to the __init__ method of ApplicationRunner and the websocket URL starts with “wss:”.