test_asgi_websockets.py (1629:094c3ab0c565) test_asgi_websockets.py (1635:97afbb6c5a15)
1import pytest
2import struct
3import time
4from distutils.version import LooseVersion
5
1import struct
2import time
3from distutils.version import LooseVersion
4
5import pytest
6
7from conftest import option
8from conftest import skip_alert
6from unit.applications.lang.python import TestApplicationPython
7from unit.applications.websockets import TestApplicationWebsocket
9from unit.applications.lang.python import TestApplicationPython
10from unit.applications.websockets import TestApplicationWebsocket
8from conftest import option, skip_alert
9
10
11class TestASGIWebsockets(TestApplicationPython):
12 prerequisites = {'modules': {'python':
13 lambda v: LooseVersion(v) >= LooseVersion('3.5')}}
14 load_module = 'asgi'
15
16 ws = TestApplicationWebsocket()

--- 1428 unchanged lines hidden ---
11
12
13class TestASGIWebsockets(TestApplicationPython):
14 prerequisites = {'modules': {'python':
15 lambda v: LooseVersion(v) >= LooseVersion('3.5')}}
16 load_module = 'asgi'
17
18 ws = TestApplicationWebsocket()

--- 1428 unchanged lines hidden ---