==>(B Building on magby(B ==>(B Checking for remote environment...(B ==>(B Syncing package to remote host...(B sending incremental file list created directory packages/python-websockets ./ .SRCINFO 926 100% 0.00kB/s 0:00:00 926 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 56 100% 54.69kB/s 0:00:00 56 100% 54.69kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 1,493 100% 1.42MB/s 0:00:00 1,493 100% 1.42MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) python-websockets-17.1-1.log 749 100% 731.45kB/s 0:00:00 749 100% 731.45kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE sent 2,838 bytes received 193 bytes 1,212.40 bytes/sec total size is 3,710 speedup is 1.22 ==>(B Applying RISC-V patches...(B sending incremental file list riscv64.patch 324 100% 0.00kB/s 0:00:00 324 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 323 bytes received 35 bytes 238.67 bytes/sec total size is 324 speedup is 0.91 patching file PKGBUILD ==>(B Patching arch to riscv64...(B ==>(B Running pkgctl build --arch riscv64 on remote host...(B ==> WARNING:(B invalid architecture: riscv64(B ==>(B Updating pacman database cache(B [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==>(B Building python-websockets(B  ->(B repo: extra(B  ->(B arch: riscv64(B  ->(B worker: felix-5(B ==>(B Building python-websockets for [extra] (riscv64)(B ]3008;start=8494cb7e9b794f44ab10c20a272f569d;user=felix;hostname=magby.felixc.at;machineid=469582f4838449b2b409e0f312413526;bootid=4180917d7e024f88b5b188a8a7f6f14e;pid=4048713;pidfdid=16554097;comm=sudo;targetuser=root;type=session\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=da80eeecd92a44ceb7759f1e89cb39b0;user=root;hostname=magby.felixc.at;machineid=469582f4838449b2b409e0f312413526;bootid=4180917d7e024f88b5b188a8a7f6f14e;pid=4048757;pidfdid=16665268;comm=systemd-nspawn;container=arch-nspawn-4048757;type=container\]11;?\]2;🔵 Container arch-nspawn-4048757 on magby.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=da80eeecd92a44ceb7759f1e89cb39b0\==>(B Building in chroot for [extra] (riscv64)...(B ==>(B Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-5]...(Bdone(B ]3008;start=bd72b28a402b4b7fa30534bfd164ce9d;user=root;hostname=magby.felixc.at;machineid=469582f4838449b2b409e0f312413526;bootid=4180917d7e024f88b5b188a8a7f6f14e;pid=4048951;pidfdid=16595692;comm=sudo;targetuser=felix;type=session\==>(B Making package: python-websockets 17.1-1 (Sat Oct 3 08:35:28 2026)(B ==>(B Retrieving sources...(B  ->(B Downloading python-websockets-17.1.tar.gz...(B % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 515.7k 0 515.7k 0 0 297.8k 0 00:01 0 100 515.7k 0 515.7k 0 0 297.8k 0 00:01 0 100 515.7k 0 515.7k 0 0 297.8k 0 00:01 0 ==>(B Validating source files with sha512sums...(B python-websockets-17.1.tar.gz ... Passed ==>(B Validating source files with b2sums...(B python-websockets-17.1.tar.gz ... Passed ]3008;end=bd72b28a402b4b7fa30534bfd164ce9d\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=c1cf09c752dd48a9a358512149922779;user=root;hostname=magby.felixc.at;machineid=469582f4838449b2b409e0f312413526;bootid=4180917d7e024f88b5b188a8a7f6f14e;pid=4050459;pidfdid=16665404;comm=systemd-nspawn;container=makechrootpkg-python-websockets.build.4048734;type=container\]11;?\]2;🔵 Container makechrootpkg-python-websockets.build.4048734 on magby.felixc.at\]3008;start=b4d3ee33f4884b0ab5e913407f44c47b;user=root;hostname=makechrootpkg-python-websockets.build.4048734;machineid=7e8eacf933e54499ae70324adff64bf8;bootid=07593b15eebd48fba8b4c7fb13e3fd0e;pid=34;pidfdid=16595702;comm=sudo;targetuser=builduser;type=session\==>(B Making package: python-websockets 17.1-1 (Sat Oct 3 08:35:49 2026)(B ==>(B Checking runtime dependencies...(B ==>(B Checking buildtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=c3583408045c42d4816650680a53a9ee;user=builduser;hostname=makechrootpkg-python-websockets.build.4048734;machineid=7e8eacf933e54499ae70324adff64bf8;bootid=07593b15eebd48fba8b4c7fb13e3fd0e;pid=3215;pidfdid=16651272;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (22) New Version Net Change Download Size extra/python-attrs 26.1.0-1 0.63 MiB extra/python-autocommand 2.2.2-9 0.08 MiB extra/python-idna 3.20-1 0.68 MiB extra/python-jaraco.collections 5.1.0-3 0.11 MiB extra/python-jaraco.context 6.1.2-1 0.06 MiB extra/python-jaraco.functools 4.1.0-3 0.07 MiB extra/python-jaraco.text 4.0.0-4 0.08 MiB extra/python-markupsafe 3.0.3-1 0.09 MiB extra/python-more-itertools 11.1.0-1 0.77 MiB extra/python-outcome 1.3.0.post0-7 0.05 MiB extra/python-packaging 26.3-1 1.58 MiB extra/python-platformdirs 4.12.2-1 0.57 MiB extra/python-pyproject-hooks 1.3.3-1 0.11 MiB extra/python-sniffio 1.3.1-5 0.04 MiB extra/python-sortedcontainers 2.4.0-8 0.38 MiB extra/python-typing_extensions 4.16.0-1 0.53 MiB 0.09 MiB extra/python-build 1.6.0-1 0.33 MiB extra/python-installer 1.0.1-1 0.21 MiB extra/python-setuptools 1:84.0.0-1 4.92 MiB extra/python-trio 0.34.0-1 3.11 MiB extra/python-werkzeug 3.1.9-1 2.77 MiB 0.43 MiB extra/python-wheel 0.48.0-1 0.34 MiB Total Download Size: 0.52 MiB Total Installed Size: 17.51 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-werkzeug-3.1.9-1-any downloading... python-typing_extensions-4.16.0-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-jaraco.collections... installing python-platformdirs... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand [pending] installing python-setuptools... installing python-attrs... installing python-idna... installing python-typing_extensions... installing python-outcome... installing python-sniffio... installing python-sortedcontainers... installing python-trio... installing python-markupsafe... installing python-werkzeug... Optional dependencies for python-werkzeug python-watchdog: faster and more advanced reloader :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h]3008;end=c3583408045c42d4816650680a53a9ee\==>(B Retrieving sources...(B  ->(B Found python-websockets-17.1.tar.gz(B ==> WARNING:(B Skipping all source file integrity checks.(B ==>(B Extracting sources...(B  ->(B Extracting python-websockets-17.1.tar.gz with bsdtar(B ==>(B Starting build()...(B * Building wheel... running bdist_wheel running build running build_py creating build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/client.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/server.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/headers.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/utils.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/connection.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/proxy.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/http11.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/__main__.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/imports.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/version.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/uri.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/typing.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/cli.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/__init__.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/protocol.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/auth.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/exceptions.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/streams.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/frames.py -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/datastructures.py -> build/lib.linux-riscv64-cpython-314/websockets creating build/lib.linux-riscv64-cpython-314/websockets/sync copying src/websockets/sync/client.py -> build/lib.linux-riscv64-cpython-314/websockets/sync copying src/websockets/sync/messages.py -> build/lib.linux-riscv64-cpython-314/websockets/sync copying src/websockets/sync/router.py -> build/lib.linux-riscv64-cpython-314/websockets/sync copying src/websockets/sync/server.py -> build/lib.linux-riscv64-cpython-314/websockets/sync copying src/websockets/sync/utils.py -> build/lib.linux-riscv64-cpython-314/websockets/sync copying src/websockets/sync/connection.py -> build/lib.linux-riscv64-cpython-314/websockets/sync copying src/websockets/sync/__init__.py -> build/lib.linux-riscv64-cpython-314/websockets/sync creating build/lib.linux-riscv64-cpython-314/websockets/asyncio copying src/websockets/asyncio/client.py -> build/lib.linux-riscv64-cpython-314/websockets/asyncio copying src/websockets/asyncio/messages.py -> build/lib.linux-riscv64-cpython-314/websockets/asyncio copying src/websockets/asyncio/router.py -> build/lib.linux-riscv64-cpython-314/websockets/asyncio copying src/websockets/asyncio/server.py -> build/lib.linux-riscv64-cpython-314/websockets/asyncio copying src/websockets/asyncio/connection.py -> build/lib.linux-riscv64-cpython-314/websockets/asyncio copying src/websockets/asyncio/__init__.py -> build/lib.linux-riscv64-cpython-314/websockets/asyncio creating build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/client.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/handshake.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/server.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/http.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/framing.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/__init__.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/protocol.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/auth.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy copying src/websockets/legacy/exceptions.py -> build/lib.linux-riscv64-cpython-314/websockets/legacy creating build/lib.linux-riscv64-cpython-314/websockets/extensions copying src/websockets/extensions/permessage_deflate.py -> build/lib.linux-riscv64-cpython-314/websockets/extensions copying src/websockets/extensions/base.py -> build/lib.linux-riscv64-cpython-314/websockets/extensions copying src/websockets/extensions/__init__.py -> build/lib.linux-riscv64-cpython-314/websockets/extensions creating build/lib.linux-riscv64-cpython-314/websockets/trio copying src/websockets/trio/client.py -> build/lib.linux-riscv64-cpython-314/websockets/trio copying src/websockets/trio/messages.py -> build/lib.linux-riscv64-cpython-314/websockets/trio copying src/websockets/trio/router.py -> build/lib.linux-riscv64-cpython-314/websockets/trio copying src/websockets/trio/server.py -> build/lib.linux-riscv64-cpython-314/websockets/trio copying src/websockets/trio/utils.py -> build/lib.linux-riscv64-cpython-314/websockets/trio copying src/websockets/trio/connection.py -> build/lib.linux-riscv64-cpython-314/websockets/trio copying src/websockets/trio/__init__.py -> build/lib.linux-riscv64-cpython-314/websockets/trio running egg_info creating src/websockets.egg-info writing src/websockets.egg-info/PKG-INFO writing dependency_links to src/websockets.egg-info/dependency_links.txt writing entry points to src/websockets.egg-info/entry_points.txt writing top-level names to src/websockets.egg-info/top_level.txt writing manifest file 'src/websockets.egg-info/SOURCES.txt' reading manifest file 'src/websockets.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/websockets.egg-info/SOURCES.txt' copying src/websockets/py.typed -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/speedups.c -> build/lib.linux-riscv64-cpython-314/websockets copying src/websockets/speedups.pyi -> build/lib.linux-riscv64-cpython-314/websockets running build_ext building 'websockets.speedups' extension gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-websockets/src=/usr/src/debug/python-websockets -flto=auto -fPIC -I/usr/include/python3.14 -c src/websockets/speedups.c -o build/temp.linux-riscv64-cpython-314/src/websockets/speedups.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-websockets/src=/usr/src/debug/python-websockets -flto=auto build/temp.linux-riscv64-cpython-314/src/websockets/speedups.o -L/usr/lib -o build/lib.linux-riscv64-cpython-314/websockets/speedups.cpython-314-riscv64-linux-gnu.so installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/websockets copying build/lib.linux-riscv64-cpython-314/websockets/client.py -> build/bdist.linux-riscv64/wheel/./websockets creating build/bdist.linux-riscv64/wheel/websockets/sync copying build/lib.linux-riscv64-cpython-314/websockets/sync/client.py -> build/bdist.linux-riscv64/wheel/./websockets/sync copying build/lib.linux-riscv64-cpython-314/websockets/sync/messages.py -> build/bdist.linux-riscv64/wheel/./websockets/sync copying build/lib.linux-riscv64-cpython-314/websockets/sync/router.py -> build/bdist.linux-riscv64/wheel/./websockets/sync copying build/lib.linux-riscv64-cpython-314/websockets/sync/server.py -> build/bdist.linux-riscv64/wheel/./websockets/sync copying build/lib.linux-riscv64-cpython-314/websockets/sync/utils.py -> build/bdist.linux-riscv64/wheel/./websockets/sync copying build/lib.linux-riscv64-cpython-314/websockets/sync/connection.py -> build/bdist.linux-riscv64/wheel/./websockets/sync copying build/lib.linux-riscv64-cpython-314/websockets/sync/__init__.py -> build/bdist.linux-riscv64/wheel/./websockets/sync copying build/lib.linux-riscv64-cpython-314/websockets/speedups.c -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/speedups.cpython-314-riscv64-linux-gnu.so -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/server.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/headers.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/utils.py -> build/bdist.linux-riscv64/wheel/./websockets creating build/bdist.linux-riscv64/wheel/websockets/asyncio copying build/lib.linux-riscv64-cpython-314/websockets/asyncio/client.py -> build/bdist.linux-riscv64/wheel/./websockets/asyncio copying build/lib.linux-riscv64-cpython-314/websockets/asyncio/messages.py -> build/bdist.linux-riscv64/wheel/./websockets/asyncio copying build/lib.linux-riscv64-cpython-314/websockets/asyncio/router.py -> build/bdist.linux-riscv64/wheel/./websockets/asyncio copying build/lib.linux-riscv64-cpython-314/websockets/asyncio/server.py -> build/bdist.linux-riscv64/wheel/./websockets/asyncio copying build/lib.linux-riscv64-cpython-314/websockets/asyncio/connection.py -> build/bdist.linux-riscv64/wheel/./websockets/asyncio copying build/lib.linux-riscv64-cpython-314/websockets/asyncio/__init__.py -> build/bdist.linux-riscv64/wheel/./websockets/asyncio copying build/lib.linux-riscv64-cpython-314/websockets/connection.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/proxy.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/http11.py -> build/bdist.linux-riscv64/wheel/./websockets creating build/bdist.linux-riscv64/wheel/websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/client.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/handshake.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/server.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/http.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/framing.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/__init__.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/protocol.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/auth.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/legacy/exceptions.py -> build/bdist.linux-riscv64/wheel/./websockets/legacy copying build/lib.linux-riscv64-cpython-314/websockets/py.typed -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/__main__.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/imports.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/version.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/uri.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/typing.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/cli.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/__init__.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/protocol.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/auth.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/exceptions.py -> build/bdist.linux-riscv64/wheel/./websockets creating build/bdist.linux-riscv64/wheel/websockets/extensions copying build/lib.linux-riscv64-cpython-314/websockets/extensions/permessage_deflate.py -> build/bdist.linux-riscv64/wheel/./websockets/extensions copying build/lib.linux-riscv64-cpython-314/websockets/extensions/base.py -> build/bdist.linux-riscv64/wheel/./websockets/extensions copying build/lib.linux-riscv64-cpython-314/websockets/extensions/__init__.py -> build/bdist.linux-riscv64/wheel/./websockets/extensions copying build/lib.linux-riscv64-cpython-314/websockets/streams.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/speedups.pyi -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/frames.py -> build/bdist.linux-riscv64/wheel/./websockets copying build/lib.linux-riscv64-cpython-314/websockets/datastructures.py -> build/bdist.linux-riscv64/wheel/./websockets creating build/bdist.linux-riscv64/wheel/websockets/trio copying build/lib.linux-riscv64-cpython-314/websockets/trio/client.py -> build/bdist.linux-riscv64/wheel/./websockets/trio copying build/lib.linux-riscv64-cpython-314/websockets/trio/messages.py -> build/bdist.linux-riscv64/wheel/./websockets/trio copying build/lib.linux-riscv64-cpython-314/websockets/trio/router.py -> build/bdist.linux-riscv64/wheel/./websockets/trio copying build/lib.linux-riscv64-cpython-314/websockets/trio/server.py -> build/bdist.linux-riscv64/wheel/./websockets/trio copying build/lib.linux-riscv64-cpython-314/websockets/trio/utils.py -> build/bdist.linux-riscv64/wheel/./websockets/trio copying build/lib.linux-riscv64-cpython-314/websockets/trio/connection.py -> build/bdist.linux-riscv64/wheel/./websockets/trio copying build/lib.linux-riscv64-cpython-314/websockets/trio/__init__.py -> build/bdist.linux-riscv64/wheel/./websockets/trio running install_egg_info Copying src/websockets.egg-info to build/bdist.linux-riscv64/wheel/./websockets-17.1-py3.14.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/websockets-17.1.dist-info/WHEEL creating '/build/python-websockets/src/websockets-17.1/dist/.tmp-zuunoqcj/websockets-17.1-cp314-cp314-linux_riscv64.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'websockets/__init__.py' adding 'websockets/__main__.py' adding 'websockets/auth.py' adding 'websockets/cli.py' adding 'websockets/client.py' adding 'websockets/connection.py' adding 'websockets/datastructures.py' adding 'websockets/exceptions.py' adding 'websockets/frames.py' adding 'websockets/headers.py' adding 'websockets/http11.py' adding 'websockets/imports.py' adding 'websockets/protocol.py' adding 'websockets/proxy.py' adding 'websockets/py.typed' adding 'websockets/server.py' adding 'websockets/speedups.c' adding 'websockets/speedups.cpython-314-riscv64-linux-gnu.so' adding 'websockets/speedups.pyi' adding 'websockets/streams.py' adding 'websockets/typing.py' adding 'websockets/uri.py' adding 'websockets/utils.py' adding 'websockets/version.py' adding 'websockets/asyncio/__init__.py' adding 'websockets/asyncio/client.py' adding 'websockets/asyncio/connection.py' adding 'websockets/asyncio/messages.py' adding 'websockets/asyncio/router.py' adding 'websockets/asyncio/server.py' adding 'websockets/extensions/__init__.py' adding 'websockets/extensions/base.py' adding 'websockets/extensions/permessage_deflate.py' adding 'websockets/legacy/__init__.py' adding 'websockets/legacy/auth.py' adding 'websockets/legacy/client.py' adding 'websockets/legacy/exceptions.py' adding 'websockets/legacy/framing.py' adding 'websockets/legacy/handshake.py' adding 'websockets/legacy/http.py' adding 'websockets/legacy/protocol.py' adding 'websockets/legacy/server.py' adding 'websockets/sync/__init__.py' adding 'websockets/sync/client.py' adding 'websockets/sync/connection.py' adding 'websockets/sync/messages.py' adding 'websockets/sync/router.py' adding 'websockets/sync/server.py' adding 'websockets/sync/utils.py' adding 'websockets/trio/__init__.py' adding 'websockets/trio/client.py' adding 'websockets/trio/connection.py' adding 'websockets/trio/messages.py' adding 'websockets/trio/router.py' adding 'websockets/trio/server.py' adding 'websockets/trio/utils.py' adding 'websockets-17.1.dist-info/licenses/LICENSE' adding 'websockets-17.1.dist-info/METADATA' adding 'websockets-17.1.dist-info/WHEEL' adding 'websockets-17.1.dist-info/entry_points.txt' adding 'websockets-17.1.dist-info/top_level.txt' adding 'websockets-17.1.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built websockets-17.1-cp314-cp314-linux_riscv64.whl ==>(B Starting check()...(B test_additional_headers (tests.asyncio.test_client.ClientTests.test_additional_headers) Client can set additional headers with additional_headers. ... ok test_compression_is_enabled (tests.asyncio.test_client.ClientTests.test_compression_is_enabled) Client enables compression by default. ... ok test_connection_closed_during_handshake (tests.asyncio.test_client.ClientTests.test_connection_closed_during_handshake) Client reads EOF before receiving handshake response from server. ... ok test_context_manager (tests.asyncio.test_client.ClientTests.test_context_manager) Client connects to server and disconnects automatically. ... ok test_cross_origin_redirect (tests.asyncio.test_client.ClientTests.test_cross_origin_redirect) Client follows redirect to a secure URI on a different origin. ... ok test_cross_origin_redirect_strips_credentials (tests.asyncio.test_client.ClientTests.test_cross_origin_redirect_strips_credentials) Client strips credentials when following a cross-origin redirect. ... ok test_cross_origin_redirect_with_explicit_host_port (tests.asyncio.test_client.ClientTests.test_cross_origin_redirect_with_explicit_host_port) Client doesn't follow cross-origin redirect with an explicit host / port. ... ok test_custom_connection_factory (tests.asyncio.test_client.ClientTests.test_custom_connection_factory) Client runs ClientConnection factory provided in create_connection. ... ok test_direct_connection (tests.asyncio.test_client.ClientTests.test_direct_connection) Client connects to server directly. ... ok test_disable_compression (tests.asyncio.test_client.ClientTests.test_disable_compression) Client disables compression. ... ok test_disable_keepalive (tests.asyncio.test_client.ClientTests.test_disable_keepalive) Client disables keepalive. ... ok test_existing_socket (tests.asyncio.test_client.ClientTests.test_existing_socket) Client connects using a pre-existing socket. ... ok test_explicit_host_port (tests.asyncio.test_client.ClientTests.test_explicit_host_port) Client connects using an explicit host / port. ... ok test_handshake_fails (tests.asyncio.test_client.ClientTests.test_handshake_fails) Client connects to server but the handshake fails. ... ok test_http_response (tests.asyncio.test_client.ClientTests.test_http_response) Client reads HTTP response. ... ok test_http_response_without_content_length (tests.asyncio.test_client.ClientTests.test_http_response_without_content_length) Client reads HTTP response without a Content-Length header. ... ok test_invalid_uri (tests.asyncio.test_client.ClientTests.test_invalid_uri) Client receives an invalid URI. ... ok test_junk_handshake_response (tests.asyncio.test_client.ClientTests.test_junk_handshake_response) Client closes the connection when receiving non-HTTP response from server. ... ok test_keepalive_is_enabled (tests.asyncio.test_client.ClientTests.test_keepalive_is_enabled) Client enables keepalive and measures latency by default. ... ok test_legacy_user_agent_header (tests.asyncio.test_client.ClientTests.test_legacy_user_agent_header) Client can override User-Agent header with additional_headers. ... ok test_logger (tests.asyncio.test_client.ClientTests.test_logger) Client accepts a logger argument. ... ok test_override_user_agent_header (tests.asyncio.test_client.ClientTests.test_override_user_agent_header) Client can override User-Agent header with user_agent_header. ... ok test_reconnect (tests.asyncio.test_client.ClientTests.test_reconnect) Client reconnects to server. ... ok test_reconnect_with_custom_process_exception (tests.asyncio.test_client.ClientTests.test_reconnect_with_custom_process_exception) Client runs process_exception to tell if errors are retryable or fatal. ... ok test_reconnect_with_custom_process_exception_raising_exception (tests.asyncio.test_client.ClientTests.test_reconnect_with_custom_process_exception_raising_exception) Client supports raising an exception in process_exception. ... ok test_redirect (tests.asyncio.test_client.ClientTests.test_redirect) Client follows redirect. ... ok test_redirect_limit (tests.asyncio.test_client.ClientTests.test_redirect_limit) Client stops following redirects after limit is reached. ... ok test_redirect_with_existing_socket (tests.asyncio.test_client.ClientTests.test_redirect_with_existing_socket) Client doesn't follow redirect when using a pre-existing socket. ... ok test_redirect_with_explicit_host_port (tests.asyncio.test_client.ClientTests.test_redirect_with_explicit_host_port) Client follows redirect with an explicit host / port. ... ok test_remove_user_agent_header (tests.asyncio.test_client.ClientTests.test_remove_user_agent_header) Client can remove User-Agent header with user_agent_header. ... ok test_same_origin_redirect_preserves_credentials (tests.asyncio.test_client.ClientTests.test_same_origin_redirect_preserves_credentials) Client preserves credentials when following a same-origin redirect. ... ok test_tcp_connection_fails (tests.asyncio.test_client.ClientTests.test_tcp_connection_fails) Client fails to connect to server. ... ok test_timeout_during_handshake (tests.asyncio.test_client.ClientTests.test_timeout_during_handshake) Client times out before receiving handshake response from server. ... ok test_https_proxy_without_proxy_ssl (tests.asyncio.test_client.ClientUsageErrorsTests.test_https_proxy_without_proxy_ssl) Client rejects proxy_ssl=None when proxy is HTTPS. ... ok test_invalid_subprotocol (tests.asyncio.test_client.ClientUsageErrorsTests.test_invalid_subprotocol) Client rejects single value of subprotocols. ... ok test_proxy_ssl_without_https_proxy (tests.asyncio.test_client.ClientUsageErrorsTests.test_proxy_ssl_without_https_proxy) Client rejects proxy_ssl when proxy isn't HTTPS. ... ok test_reentrancy (tests.asyncio.test_client.ClientUsageErrorsTests.test_reentrancy) Client isn't reentrant. ... ok test_secure_uri_without_ssl (tests.asyncio.test_client.ClientUsageErrorsTests.test_secure_uri_without_ssl) Client rejects ssl=None when URI is secure. ... ok test_ssl_without_secure_uri (tests.asyncio.test_client.ClientUsageErrorsTests.test_ssl_without_secure_uri) Client rejects ssl when URI isn't secure. ... ok test_unix_with_path_and_sock (tests.asyncio.test_client.ClientUsageErrorsTests.test_unix_with_path_and_sock) Unix client rejects path when sock is provided. ... ok test_unix_without_path_or_sock (tests.asyncio.test_client.ClientUsageErrorsTests.test_unix_without_path_or_sock) Unix client requires path when sock isn't provided. ... ok test_unsupported_compression (tests.asyncio.test_client.ClientUsageErrorsTests.test_unsupported_compression) Client rejects incorrect value of compression. ... ok test_unsupported_proxy (tests.asyncio.test_client.ClientUsageErrorsTests.test_unsupported_proxy) Client rejects unsupported proxy. ... ok test_authenticated_http_proxy (tests.asyncio.test_client.HTTPProxyClientTests.test_authenticated_http_proxy) Client connects to server through an authenticated HTTP proxy. ... skipped 'mitmproxy not installed' test_authenticated_http_proxy_error (tests.asyncio.test_client.HTTPProxyClientTests.test_authenticated_http_proxy_error) Client fails to authenticate to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy (tests.asyncio.test_client.HTTPProxyClientTests.test_http_proxy) Client connects to server through an HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_error (tests.asyncio.test_client.HTTPProxyClientTests.test_http_proxy_connection_error) Client receives no response when connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_failure (tests.asyncio.test_client.HTTPProxyClientTests.test_http_proxy_connection_failure) Client fails to connect to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_timeout (tests.asyncio.test_client.HTTPProxyClientTests.test_http_proxy_connection_timeout) Client times out while connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_override_user_agent (tests.asyncio.test_client.HTTPProxyClientTests.test_http_proxy_override_user_agent) Client can override User-Agent header with user_agent_header. ... skipped 'mitmproxy not installed' test_http_proxy_protocol_error (tests.asyncio.test_client.HTTPProxyClientTests.test_http_proxy_protocol_error) Client receives invalid data when connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_remove_user_agent (tests.asyncio.test_client.HTTPProxyClientTests.test_http_proxy_remove_user_agent) Client can remove User-Agent header with user_agent_header. ... skipped 'mitmproxy not installed' test_https_proxy (tests.asyncio.test_client.HTTPProxyClientTests.test_https_proxy) Client connects to server through an HTTPS proxy. ... skipped 'mitmproxy not installed' test_https_proxy_invalid_proxy_certificate (tests.asyncio.test_client.HTTPProxyClientTests.test_https_proxy_invalid_proxy_certificate) Client rejects certificate when proxy certificate isn't trusted. ... skipped 'mitmproxy not installed' test_https_proxy_invalid_server_certificate (tests.asyncio.test_client.HTTPProxyClientTests.test_https_proxy_invalid_server_certificate) Client rejects certificate when proxy certificate isn't trusted. ... skipped 'mitmproxy not installed' test_https_proxy_server_hostname (tests.asyncio.test_client.HTTPProxyClientTests.test_https_proxy_server_hostname) Client sets server_hostname to the value of proxy_server_hostname. ... skipped 'mitmproxy not installed' test_secure_http_proxy (tests.asyncio.test_client.HTTPProxyClientTests.test_secure_http_proxy) Client connects to server securely through an HTTP proxy. ... skipped 'mitmproxy not installed' test_secure_https_proxy (tests.asyncio.test_client.HTTPProxyClientTests.test_secure_https_proxy) Client connects to server securely through an HTTPS proxy. ... skipped 'mitmproxy not installed' test_context_manager (tests.asyncio.test_client.SecureClientTests.test_context_manager) Client connects to server securely and disconnects automatically. ... ok test_cross_origin_redirect (tests.asyncio.test_client.SecureClientTests.test_cross_origin_redirect) Client follows redirect to a secure URI on a different origin. ... ok test_direct_connection (tests.asyncio.test_client.SecureClientTests.test_direct_connection) Client connects to server securely and directly. ... ok test_redirect_to_insecure_uri (tests.asyncio.test_client.SecureClientTests.test_redirect_to_insecure_uri) Client doesn't follow redirect from secure URI to non-secure URI. ... ok test_reject_invalid_server_certificate (tests.asyncio.test_client.SecureClientTests.test_reject_invalid_server_certificate) Client rejects certificate where server certificate isn't trusted. ... ok test_reject_invalid_server_hostname (tests.asyncio.test_client.SecureClientTests.test_reject_invalid_server_hostname) Client rejects certificate where server hostname doesn't match. ... ok test_set_server_hostname_explicitly (tests.asyncio.test_client.SecureClientTests.test_set_server_hostname_explicitly) Client sets server_hostname to the value provided in argument. ... ok test_set_server_hostname_implicitly (tests.asyncio.test_client.SecureClientTests.test_set_server_hostname_implicitly) Client sets server_hostname to the host in the WebSocket URI. ... ok test_authenticated_socks_proxy (tests.asyncio.test_client.SocksProxyClientTests.test_authenticated_socks_proxy) Client connects to server through an authenticated SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_authenticated_socks_proxy_error (tests.asyncio.test_client.SocksProxyClientTests.test_authenticated_socks_proxy_error) Client fails to authenticate to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_explicit_socks_proxy (tests.asyncio.test_client.SocksProxyClientTests.test_explicit_socks_proxy) Client connects to server through a SOCKS5 proxy set explicitly. ... skipped 'mitmproxy not installed' test_ignore_proxy_with_existing_socket (tests.asyncio.test_client.SocksProxyClientTests.test_ignore_proxy_with_existing_socket) Client connects using a pre-existing socket. ... skipped 'mitmproxy not installed' test_secure_socks_proxy (tests.asyncio.test_client.SocksProxyClientTests.test_secure_socks_proxy) Client connects to server securely through a SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy (tests.asyncio.test_client.SocksProxyClientTests.test_socks_proxy) Client connects to server through a SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy_connection_failure (tests.asyncio.test_client.SocksProxyClientTests.test_socks_proxy_connection_failure) Client fails to connect to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy_connection_timeout (tests.asyncio.test_client.SocksProxyClientTests.test_socks_proxy_connection_timeout) Client times out while connecting to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_context_manager (tests.asyncio.test_client.UnixClientTests.test_context_manager) Client connects to Unix server and disconnects automatically. ... ok test_cross_origin_redirect (tests.asyncio.test_client.UnixClientTests.test_cross_origin_redirect) Client doesn't follows redirect to a URI on a different origin. ... ok test_direct_connection (tests.asyncio.test_client.UnixClientTests.test_direct_connection) Client connects to Unix server directly. ... ok test_non_existing_path (tests.asyncio.test_client.UnixClientTests.test_non_existing_path) Client attempts to connect to a non-existing Unix socket path. ... ok test_pathlib_path (tests.asyncio.test_client.UnixClientTests.test_pathlib_path) Client accepts a pathlib.Path object as the path argument. ... ok test_secure_context_manager (tests.asyncio.test_client.UnixClientTests.test_secure_context_manager) Client connects to Unix server securely and disconnects automatically. ... ok test_secure_direct_connection (tests.asyncio.test_client.UnixClientTests.test_secure_direct_connection) Client connects to Unix server securely and directly. ... ok test_set_host_header (tests.asyncio.test_client.UnixClientTests.test_set_host_header) Client sets the Host header to the host in the WebSocket URI. ... ok test_set_server_hostname (tests.asyncio.test_client.UnixClientTests.test_set_server_hostname) Client sets server_hostname to the host in the WebSocket URI. ... ok test_acknowledge_canceled_ping (tests.asyncio.test_connection.ClientConnectionTests.test_acknowledge_canceled_ping) ping is acknowledged by a pong with the same payload after being canceled. ... ok test_acknowledge_ping (tests.asyncio.test_connection.ClientConnectionTests.test_acknowledge_ping) ping is acknowledged by a pong with the same payload. ... ok test_acknowledge_ping_non_matching_pong (tests.asyncio.test_connection.ClientConnectionTests.test_acknowledge_ping_non_matching_pong) ping isn't acknowledged by a pong with a different payload. ... ok test_acknowledge_previous_canceled_ping (tests.asyncio.test_connection.ClientConnectionTests.test_acknowledge_previous_canceled_ping) ping is acknowledged by a pong for a later ping after being canceled. ... ok test_acknowledge_previous_ping (tests.asyncio.test_connection.ClientConnectionTests.test_acknowledge_previous_ping) ping is acknowledged by a pong for a later ping. ... ok test_aenter (tests.asyncio.test_connection.ClientConnectionTests.test_aenter) __aenter__ returns the connection itself. ... ok test_aexit (tests.asyncio.test_connection.ClientConnectionTests.test_aexit) __aexit__ closes the connection with code 1000. ... ok test_aexit_with_exception (tests.asyncio.test_connection.ClientConnectionTests.test_aexit_with_exception) __aexit__ with an exception closes the connection with code 1011. ... ok test_aiter_binary (tests.asyncio.test_connection.ClientConnectionTests.test_aiter_binary) __aiter__ yields binary messages. ... ok test_aiter_connection_closed_error (tests.asyncio.test_connection.ClientConnectionTests.test_aiter_connection_closed_error) __aiter__ raises ConnectionClosedError after an error. ... ok test_aiter_connection_closed_ok (tests.asyncio.test_connection.ClientConnectionTests.test_aiter_connection_closed_ok) __aiter__ terminates after a normal closure. ... ok test_aiter_mixed (tests.asyncio.test_connection.ClientConnectionTests.test_aiter_mixed) __aiter__ yields a mix of text and binary messages. ... ok test_aiter_text (tests.asyncio.test_connection.ClientConnectionTests.test_aiter_text) __aiter__ yields text messages. ... ok test_backpressure (tests.asyncio.test_connection.ClientConnectionTests.test_backpressure) Connection stops reading from the network when the buffer fills up. ... ok test_broadcast_binary (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_binary) broadcast broadcasts a binary message. ... ok test_broadcast_binary_from_str (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_binary_from_str) broadcast broadcasts a binary message from a str. ... ok test_broadcast_binary_reports_no_errors (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_binary_reports_no_errors) broadcast broadcasts a binary message without raising exceptions. ... ok test_broadcast_no_clients (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_no_clients) broadcast does nothing when called with an empty list of clients. ... ok test_broadcast_reports_connection_failing_to_send (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_reports_connection_failing_to_send) broadcast raises exceptions for connections failing to send. ... ok test_broadcast_reports_connection_with_send_blocked (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_reports_connection_with_send_blocked) broadcast raises exceptions for connections blocked in send. ... ok test_broadcast_skips_closed_connection (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_skips_closed_connection) broadcast ignores closed connections. ... ok test_broadcast_skips_closing_connection (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_skips_closing_connection) broadcast ignores closing connections. ... ok test_broadcast_skips_connection_failing_to_send (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_skips_connection_failing_to_send) broadcast logs a warning when a connection fails to send. ... ok test_broadcast_skips_connection_with_send_blocked (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_skips_connection_with_send_blocked) broadcast logs a warning when a connection is blocked in send. ... ok test_broadcast_text (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_text) broadcast broadcasts a text message. ... ok test_broadcast_text_from_bytes (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_text_from_bytes) broadcast broadcasts a text message from bytes. ... ok test_broadcast_text_reports_no_errors (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_text_reports_no_errors) broadcast broadcasts a text message without raising exceptions. ... ok test_broadcast_two_clients (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_two_clients) broadcast broadcasts a message to several clients. ... ok test_broadcast_type_error (tests.asyncio.test_connection.ClientConnectionTests.test_broadcast_type_error) broadcast raises TypeError when called with an unsupported type. ... ok test_close (tests.asyncio.test_connection.ClientConnectionTests.test_close) close sends a close frame. ... ok test_close_code (tests.asyncio.test_connection.ClientConnectionTests.test_close_code) Connection has a close_code attribute. ... ok test_close_during_recv (tests.asyncio.test_connection.ClientConnectionTests.test_close_during_recv) close aborts recv when called concurrently with recv. ... ok test_close_during_recv_streaming (tests.asyncio.test_connection.ClientConnectionTests.test_close_during_recv_streaming) close aborts recv_streaming when called concurrently with recv_streaming. ... ok test_close_during_send (tests.asyncio.test_connection.ClientConnectionTests.test_close_during_send) close fails the connection when called concurrently with send. ... ok test_close_explicit_code_reason (tests.asyncio.test_connection.ClientConnectionTests.test_close_explicit_code_reason) close sends a close frame with a given code and reason. ... ok test_close_idempotency (tests.asyncio.test_connection.ClientConnectionTests.test_close_idempotency) close does nothing if the connection is already closed. ... ok test_close_no_timeout_waits_for_close_frame (tests.asyncio.test_connection.ClientConnectionTests.test_close_no_timeout_waits_for_close_frame) close without timeout waits for a close frame then EOF before returning. ... ok test_close_no_timeout_waits_for_connection_closed (tests.asyncio.test_connection.ClientConnectionTests.test_close_no_timeout_waits_for_connection_closed) close without timeout waits for EOF before returning. ... ok test_close_preserves_queued_messages (tests.asyncio.test_connection.ClientConnectionTests.test_close_preserves_queued_messages) close preserves messages buffered in the assembler. ... ok test_close_reason (tests.asyncio.test_connection.ClientConnectionTests.test_close_reason) Connection has a close_reason attribute. ... ok test_close_timeout (tests.asyncio.test_connection.ClientConnectionTests.test_close_timeout) close_timeout parameter configures close timeout. ... ok test_close_timeout_waiting_for_close_frame (tests.asyncio.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_close_frame) close times out if no close frame is received. ... ok test_close_timeout_waiting_for_connection_closed (tests.asyncio.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_connection_closed) close times out if EOF isn't received. ... ok test_close_waits_for_close_frame (tests.asyncio.test_connection.ClientConnectionTests.test_close_waits_for_close_frame) close waits for a close frame then EOF before returning. ... ok test_close_waits_for_connection_closed (tests.asyncio.test_connection.ClientConnectionTests.test_close_waits_for_connection_closed) close waits for EOF before returning. ... ok test_disable_keepalive (tests.asyncio.test_connection.ClientConnectionTests.test_disable_keepalive) keepalive is disabled when ping_interval is None. ... ok test_id (tests.asyncio.test_connection.ClientConnectionTests.test_id) Connection has an id attribute. ... ok test_keepalive (tests.asyncio.test_connection.ClientConnectionTests.test_keepalive) keepalive sends pings at ping_interval and measures latency. ... ok test_keepalive_ignores_timeout (tests.asyncio.test_connection.ClientConnectionTests.test_keepalive_ignores_timeout) keepalive ignores timeouts if ping_timeout isn't set. ... ok test_keepalive_reports_errors (tests.asyncio.test_connection.ClientConnectionTests.test_keepalive_reports_errors) keepalive reports unexpected errors in logs. ... ok test_keepalive_terminates_while_sleeping (tests.asyncio.test_connection.ClientConnectionTests.test_keepalive_terminates_while_sleeping) keepalive task terminates while waiting to send a ping. ... ok test_keepalive_terminates_while_waiting_for_pong (tests.asyncio.test_connection.ClientConnectionTests.test_keepalive_terminates_while_waiting_for_pong) keepalive task terminates while waiting to receive a pong. ... ok test_keepalive_times_out (tests.asyncio.test_connection.ClientConnectionTests.test_keepalive_times_out) keepalive closes the connection if ping_timeout elapses. ... ok test_local_address (tests.asyncio.test_connection.ClientConnectionTests.test_local_address) Connection has a local_address attribute. ... ok test_logger (tests.asyncio.test_connection.ClientConnectionTests.test_logger) Connection has a logger attribute. ... ok test_max_queue (tests.asyncio.test_connection.ClientConnectionTests.test_max_queue) max_queue configures high-water mark of frames buffer. ... ok test_max_queue_none (tests.asyncio.test_connection.ClientConnectionTests.test_max_queue_none) max_queue disables high-water mark of frames buffer. ... ok test_max_queue_tuple (tests.asyncio.test_connection.ClientConnectionTests.test_max_queue_tuple) max_queue configures high-water and low-water marks of frames buffer. ... ok test_no_reference_cycle (tests.asyncio.test_connection.ClientConnectionTests.test_no_reference_cycle) Connection is garbage collected immediately after deletion. ... ok test_ping (tests.asyncio.test_connection.ClientConnectionTests.test_ping) ping sends a ping frame with a random payload. ... ok test_ping_duplicate_payload (tests.asyncio.test_connection.ClientConnectionTests.test_ping_duplicate_payload) ping rejects the same payload until receiving the pong. ... ok test_ping_explicit_binary (tests.asyncio.test_connection.ClientConnectionTests.test_ping_explicit_binary) ping sends a ping frame with a payload provided as binary. ... ok test_ping_explicit_text (tests.asyncio.test_connection.ClientConnectionTests.test_ping_explicit_text) ping sends a ping frame with a payload provided as text. ... ok test_ping_unsupported_type (tests.asyncio.test_connection.ClientConnectionTests.test_ping_unsupported_type) ping raises TypeError when called with an unsupported type. ... ok test_pong (tests.asyncio.test_connection.ClientConnectionTests.test_pong) pong sends a pong frame. ... ok test_pong_explicit_binary (tests.asyncio.test_connection.ClientConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ... ok test_pong_explicit_text (tests.asyncio.test_connection.ClientConnectionTests.test_pong_explicit_text) pong sends a pong frame with a payload provided as text. ... ok test_pong_unsupported_type (tests.asyncio.test_connection.ClientConnectionTests.test_pong_unsupported_type) pong raises TypeError when called with an unsupported type. ... ok test_recv_binary (tests.asyncio.test_connection.ClientConnectionTests.test_recv_binary) recv receives a binary message. ... ok test_recv_binary_as_text (tests.asyncio.test_connection.ClientConnectionTests.test_recv_binary_as_text) recv receives a binary message as a str. ... ok test_recv_cancellation_before_receiving (tests.asyncio.test_connection.ClientConnectionTests.test_recv_cancellation_before_receiving) recv can be canceled before receiving a message. ... ok test_recv_cancellation_while_receiving (tests.asyncio.test_connection.ClientConnectionTests.test_recv_cancellation_while_receiving) recv can be canceled while receiving a fragmented message. ... ok test_recv_connection_closed_error (tests.asyncio.test_connection.ClientConnectionTests.test_recv_connection_closed_error) recv raises ConnectionClosedError after an error. ... ok test_recv_connection_closed_ok (tests.asyncio.test_connection.ClientConnectionTests.test_recv_connection_closed_ok) recv raises ConnectionClosedOK after a normal closure. ... ok test_recv_during_recv (tests.asyncio.test_connection.ClientConnectionTests.test_recv_during_recv) recv raises ConcurrencyError when called concurrently. ... ok test_recv_during_recv_streaming (tests.asyncio.test_connection.ClientConnectionTests.test_recv_during_recv_streaming) recv raises ConcurrencyError when called concurrently with recv_streaming. ... ok test_recv_fragmented_binary (tests.asyncio.test_connection.ClientConnectionTests.test_recv_fragmented_binary) recv receives a fragmented binary message. ... ok test_recv_fragmented_text (tests.asyncio.test_connection.ClientConnectionTests.test_recv_fragmented_text) recv receives a fragmented text message. ... ok test_recv_non_utf8_text (tests.asyncio.test_connection.ClientConnectionTests.test_recv_non_utf8_text) recv receives a non-UTF-8 text message. ... ok test_recv_streaming_binary (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_binary) recv_streaming receives a binary message. ... ok test_recv_streaming_binary_as_str (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_binary_as_str) recv_streaming receives a binary message as a str. ... ok test_recv_streaming_cancellation_before_receiving (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_cancellation_before_receiving) recv_streaming can be canceled before receiving a message. ... ok test_recv_streaming_cancellation_while_receiving (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_cancellation_while_receiving) recv_streaming cannot be canceled while receiving a fragmented message. ... ok test_recv_streaming_connection_closed_error (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_connection_closed_error) recv_streaming raises ConnectionClosedError after an error. ... ok test_recv_streaming_connection_closed_ok (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_connection_closed_ok) recv_streaming raises ConnectionClosedOK after a normal closure. ... ok test_recv_streaming_during_recv (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_during_recv) recv_streaming raises ConcurrencyError when called concurrently with recv. ... ok test_recv_streaming_during_recv_streaming (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_during_recv_streaming) recv_streaming raises ConcurrencyError when called concurrently. ... ok test_recv_streaming_fragmented_binary (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_fragmented_binary) recv_streaming receives a fragmented binary message. ... ok test_recv_streaming_fragmented_text (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_fragmented_text) recv_streaming receives a fragmented text message. ... ok test_recv_streaming_non_utf8_text (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_non_utf8_text) recv_streaming receives a non-UTF-8 text message. ... ok test_recv_streaming_text (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_text) recv_streaming receives a text message. ... ok test_recv_streaming_text_as_bytes (tests.asyncio.test_connection.ClientConnectionTests.test_recv_streaming_text_as_bytes) recv_streaming receives a text message as bytes. ... ok test_recv_text (tests.asyncio.test_connection.ClientConnectionTests.test_recv_text) recv receives a text message. ... ok test_recv_text_as_bytes (tests.asyncio.test_connection.ClientConnectionTests.test_recv_text_as_bytes) recv receives a text message as bytes. ... ok test_remote_address (tests.asyncio.test_connection.ClientConnectionTests.test_remote_address) Connection has a remote_address attribute. ... ok test_request (tests.asyncio.test_connection.ClientConnectionTests.test_request) Connection has a request attribute. ... ok test_response (tests.asyncio.test_connection.ClientConnectionTests.test_response) Connection has a response attribute. ... ok test_send_async_fragmented_binary (tests.asyncio.test_connection.ClientConnectionTests.test_send_async_fragmented_binary) send sends a fragmented binary message asynchronously. ... ok test_send_async_fragmented_binary_from_str (tests.asyncio.test_connection.ClientConnectionTests.test_send_async_fragmented_binary_from_str) send sends a fragmented binary message from a str asynchronously. ... ok test_send_async_fragmented_text (tests.asyncio.test_connection.ClientConnectionTests.test_send_async_fragmented_text) send sends a fragmented text message asynchronously. ... ok test_send_async_fragmented_text_from_bytes (tests.asyncio.test_connection.ClientConnectionTests.test_send_async_fragmented_text_from_bytes) send sends a fragmented text message from bytes asynchronously. ... ok test_send_binary (tests.asyncio.test_connection.ClientConnectionTests.test_send_binary) send sends a binary message. ... ok test_send_binary_from_str (tests.asyncio.test_connection.ClientConnectionTests.test_send_binary_from_str) send sends a binary message from a str. ... ok test_send_connection_closed_error (tests.asyncio.test_connection.ClientConnectionTests.test_send_connection_closed_error) send raises ConnectionClosedError after an error. ... ok test_send_connection_closed_ok (tests.asyncio.test_connection.ClientConnectionTests.test_send_connection_closed_ok) send raises ConnectionClosedOK after a normal closure. ... ok test_send_dict (tests.asyncio.test_connection.ClientConnectionTests.test_send_dict) send raises TypeError when called with a dict. ... ok test_send_during_send (tests.asyncio.test_connection.ClientConnectionTests.test_send_during_send) send waits for a previous call to send to complete. ... ok test_send_empty_async_iterable (tests.asyncio.test_connection.ClientConnectionTests.test_send_empty_async_iterable) send does nothing when called with an empty async iterable. ... ok test_send_empty_iterable (tests.asyncio.test_connection.ClientConnectionTests.test_send_empty_iterable) send does nothing when called with an empty iterable. ... ok test_send_fragmented_binary (tests.asyncio.test_connection.ClientConnectionTests.test_send_fragmented_binary) send sends a fragmented binary message. ... ok test_send_fragmented_binary_from_str (tests.asyncio.test_connection.ClientConnectionTests.test_send_fragmented_binary_from_str) send sends a fragmented binary message from a str. ... ok test_send_fragmented_text (tests.asyncio.test_connection.ClientConnectionTests.test_send_fragmented_text) send sends a fragmented text message. ... ok test_send_fragmented_text_from_bytes (tests.asyncio.test_connection.ClientConnectionTests.test_send_fragmented_text_from_bytes) send sends a fragmented text message from bytes. ... ok test_send_mixed_async_iterable (tests.asyncio.test_connection.ClientConnectionTests.test_send_mixed_async_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_mixed_iterable (tests.asyncio.test_connection.ClientConnectionTests.test_send_mixed_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_text (tests.asyncio.test_connection.ClientConnectionTests.test_send_text) send sends a text message. ... ok test_send_text_from_bytes (tests.asyncio.test_connection.ClientConnectionTests.test_send_text_from_bytes) send sends a text message from bytes. ... ok test_send_unsupported_async_iterable (tests.asyncio.test_connection.ClientConnectionTests.test_send_unsupported_async_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_iterable (tests.asyncio.test_connection.ClientConnectionTests.test_send_unsupported_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_type (tests.asyncio.test_connection.ClientConnectionTests.test_send_unsupported_type) send raises TypeError when called with an unsupported type. ... ok test_send_while_send_async_blocked (tests.asyncio.test_connection.ClientConnectionTests.test_send_while_send_async_blocked) send waits for a blocked call to send to complete. ... ok test_send_while_send_blocked (tests.asyncio.test_connection.ClientConnectionTests.test_send_while_send_blocked) send waits for a blocked call to send to complete. ... ok test_state (tests.asyncio.test_connection.ClientConnectionTests.test_state) Connection has a state attribute. ... ok test_subprotocol (tests.asyncio.test_connection.ClientConnectionTests.test_subprotocol) Connection has a subprotocol attribute. ... ok test_terminate_ping_on_close (tests.asyncio.test_connection.ClientConnectionTests.test_terminate_ping_on_close) ping is done with an exception when the connection is closed. ... ok test_unexpected_failure_in_data_received (tests.asyncio.test_connection.ClientConnectionTests.test_unexpected_failure_in_data_received) Unexpected internal error in data_received() is correctly reported. ... ok test_unexpected_failure_in_send_context (tests.asyncio.test_connection.ClientConnectionTests.test_unexpected_failure_in_send_context) Unexpected internal error in send_context() is correctly reported. ... ok test_wait_closed (tests.asyncio.test_connection.ClientConnectionTests.test_wait_closed) wait_closed waits for the connection to close. ... ok test_write_limit (tests.asyncio.test_connection.ClientConnectionTests.test_write_limit) write_limit parameter configures high-water mark of write buffer. ... ok test_write_limits (tests.asyncio.test_connection.ClientConnectionTests.test_write_limits) write_limit parameter configures high and low-water marks of write buffer. ... ok test_writing_in_data_received_fails (tests.asyncio.test_connection.ClientConnectionTests.test_writing_in_data_received_fails) Error when responding to incoming frames is correctly reported. ... ok test_writing_in_send_context_fails (tests.asyncio.test_connection.ClientConnectionTests.test_writing_in_send_context_fails) Error when sending outgoing frame is correctly reported. ... ok test_acknowledge_canceled_ping (tests.asyncio.test_connection.ServerConnectionTests.test_acknowledge_canceled_ping) ping is acknowledged by a pong with the same payload after being canceled. ... ok test_acknowledge_ping (tests.asyncio.test_connection.ServerConnectionTests.test_acknowledge_ping) ping is acknowledged by a pong with the same payload. ... ok test_acknowledge_ping_non_matching_pong (tests.asyncio.test_connection.ServerConnectionTests.test_acknowledge_ping_non_matching_pong) ping isn't acknowledged by a pong with a different payload. ... ok test_acknowledge_previous_canceled_ping (tests.asyncio.test_connection.ServerConnectionTests.test_acknowledge_previous_canceled_ping) ping is acknowledged by a pong for a later ping after being canceled. ... ok test_acknowledge_previous_ping (tests.asyncio.test_connection.ServerConnectionTests.test_acknowledge_previous_ping) ping is acknowledged by a pong for a later ping. ... ok test_aenter (tests.asyncio.test_connection.ServerConnectionTests.test_aenter) __aenter__ returns the connection itself. ... ok test_aexit (tests.asyncio.test_connection.ServerConnectionTests.test_aexit) __aexit__ closes the connection with code 1000. ... ok test_aexit_with_exception (tests.asyncio.test_connection.ServerConnectionTests.test_aexit_with_exception) __aexit__ with an exception closes the connection with code 1011. ... ok test_aiter_binary (tests.asyncio.test_connection.ServerConnectionTests.test_aiter_binary) __aiter__ yields binary messages. ... ok test_aiter_connection_closed_error (tests.asyncio.test_connection.ServerConnectionTests.test_aiter_connection_closed_error) __aiter__ raises ConnectionClosedError after an error. ... ok test_aiter_connection_closed_ok (tests.asyncio.test_connection.ServerConnectionTests.test_aiter_connection_closed_ok) __aiter__ terminates after a normal closure. ... ok test_aiter_mixed (tests.asyncio.test_connection.ServerConnectionTests.test_aiter_mixed) __aiter__ yields a mix of text and binary messages. ... ok test_aiter_text (tests.asyncio.test_connection.ServerConnectionTests.test_aiter_text) __aiter__ yields text messages. ... ok test_backpressure (tests.asyncio.test_connection.ServerConnectionTests.test_backpressure) Connection stops reading from the network when the buffer fills up. ... ok test_broadcast_binary (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_binary) broadcast broadcasts a binary message. ... ok test_broadcast_binary_from_str (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_binary_from_str) broadcast broadcasts a binary message from a str. ... ok test_broadcast_binary_reports_no_errors (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_binary_reports_no_errors) broadcast broadcasts a binary message without raising exceptions. ... ok test_broadcast_no_clients (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_no_clients) broadcast does nothing when called with an empty list of clients. ... ok test_broadcast_reports_connection_failing_to_send (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_reports_connection_failing_to_send) broadcast raises exceptions for connections failing to send. ... ok test_broadcast_reports_connection_with_send_blocked (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_reports_connection_with_send_blocked) broadcast raises exceptions for connections blocked in send. ... ok test_broadcast_skips_closed_connection (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_skips_closed_connection) broadcast ignores closed connections. ... ok test_broadcast_skips_closing_connection (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_skips_closing_connection) broadcast ignores closing connections. ... ok test_broadcast_skips_connection_failing_to_send (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_skips_connection_failing_to_send) broadcast logs a warning when a connection fails to send. ... ok test_broadcast_skips_connection_with_send_blocked (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_skips_connection_with_send_blocked) broadcast logs a warning when a connection is blocked in send. ... ok test_broadcast_text (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_text) broadcast broadcasts a text message. ... ok test_broadcast_text_from_bytes (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_text_from_bytes) broadcast broadcasts a text message from bytes. ... ok test_broadcast_text_reports_no_errors (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_text_reports_no_errors) broadcast broadcasts a text message without raising exceptions. ... ok test_broadcast_two_clients (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_two_clients) broadcast broadcasts a message to several clients. ... ok test_broadcast_type_error (tests.asyncio.test_connection.ServerConnectionTests.test_broadcast_type_error) broadcast raises TypeError when called with an unsupported type. ... ok test_close (tests.asyncio.test_connection.ServerConnectionTests.test_close) close sends a close frame. ... ok test_close_code (tests.asyncio.test_connection.ServerConnectionTests.test_close_code) Connection has a close_code attribute. ... ok test_close_during_recv (tests.asyncio.test_connection.ServerConnectionTests.test_close_during_recv) close aborts recv when called concurrently with recv. ... ok test_close_during_recv_streaming (tests.asyncio.test_connection.ServerConnectionTests.test_close_during_recv_streaming) close aborts recv_streaming when called concurrently with recv_streaming. ... ok test_close_during_send (tests.asyncio.test_connection.ServerConnectionTests.test_close_during_send) close fails the connection when called concurrently with send. ... ok test_close_explicit_code_reason (tests.asyncio.test_connection.ServerConnectionTests.test_close_explicit_code_reason) close sends a close frame with a given code and reason. ... ok test_close_idempotency (tests.asyncio.test_connection.ServerConnectionTests.test_close_idempotency) close does nothing if the connection is already closed. ... ok test_close_no_timeout_waits_for_close_frame (tests.asyncio.test_connection.ServerConnectionTests.test_close_no_timeout_waits_for_close_frame) close without timeout waits for a close frame then EOF before returning. ... ok test_close_no_timeout_waits_for_connection_closed (tests.asyncio.test_connection.ServerConnectionTests.test_close_no_timeout_waits_for_connection_closed) close without timeout waits for EOF before returning. ... skipped 'only relevant on the client-side' test_close_preserves_queued_messages (tests.asyncio.test_connection.ServerConnectionTests.test_close_preserves_queued_messages) close preserves messages buffered in the assembler. ... ok test_close_reason (tests.asyncio.test_connection.ServerConnectionTests.test_close_reason) Connection has a close_reason attribute. ... ok test_close_timeout (tests.asyncio.test_connection.ServerConnectionTests.test_close_timeout) close_timeout parameter configures close timeout. ... ok test_close_timeout_waiting_for_close_frame (tests.asyncio.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_close_frame) close times out if no close frame is received. ... ok test_close_timeout_waiting_for_connection_closed (tests.asyncio.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_connection_closed) close times out if EOF isn't received. ... skipped 'only relevant on the client-side' test_close_waits_for_close_frame (tests.asyncio.test_connection.ServerConnectionTests.test_close_waits_for_close_frame) close waits for a close frame then EOF before returning. ... ok test_close_waits_for_connection_closed (tests.asyncio.test_connection.ServerConnectionTests.test_close_waits_for_connection_closed) close waits for EOF before returning. ... skipped 'only relevant on the client-side' test_disable_keepalive (tests.asyncio.test_connection.ServerConnectionTests.test_disable_keepalive) keepalive is disabled when ping_interval is None. ... ok test_id (tests.asyncio.test_connection.ServerConnectionTests.test_id) Connection has an id attribute. ... ok test_keepalive (tests.asyncio.test_connection.ServerConnectionTests.test_keepalive) keepalive sends pings at ping_interval and measures latency. ... ok test_keepalive_ignores_timeout (tests.asyncio.test_connection.ServerConnectionTests.test_keepalive_ignores_timeout) keepalive ignores timeouts if ping_timeout isn't set. ... ok test_keepalive_reports_errors (tests.asyncio.test_connection.ServerConnectionTests.test_keepalive_reports_errors) keepalive reports unexpected errors in logs. ... ok test_keepalive_terminates_while_sleeping (tests.asyncio.test_connection.ServerConnectionTests.test_keepalive_terminates_while_sleeping) keepalive task terminates while waiting to send a ping. ... ok test_keepalive_terminates_while_waiting_for_pong (tests.asyncio.test_connection.ServerConnectionTests.test_keepalive_terminates_while_waiting_for_pong) keepalive task terminates while waiting to receive a pong. ... ok test_keepalive_times_out (tests.asyncio.test_connection.ServerConnectionTests.test_keepalive_times_out) keepalive closes the connection if ping_timeout elapses. ... ok test_local_address (tests.asyncio.test_connection.ServerConnectionTests.test_local_address) Connection has a local_address attribute. ... ok test_logger (tests.asyncio.test_connection.ServerConnectionTests.test_logger) Connection has a logger attribute. ... ok test_max_queue (tests.asyncio.test_connection.ServerConnectionTests.test_max_queue) max_queue configures high-water mark of frames buffer. ... ok test_max_queue_none (tests.asyncio.test_connection.ServerConnectionTests.test_max_queue_none) max_queue disables high-water mark of frames buffer. ... ok test_max_queue_tuple (tests.asyncio.test_connection.ServerConnectionTests.test_max_queue_tuple) max_queue configures high-water and low-water marks of frames buffer. ... ok test_no_reference_cycle (tests.asyncio.test_connection.ServerConnectionTests.test_no_reference_cycle) Connection is garbage collected immediately after deletion. ... ok test_ping (tests.asyncio.test_connection.ServerConnectionTests.test_ping) ping sends a ping frame with a random payload. ... ok test_ping_duplicate_payload (tests.asyncio.test_connection.ServerConnectionTests.test_ping_duplicate_payload) ping rejects the same payload until receiving the pong. ... ok test_ping_explicit_binary (tests.asyncio.test_connection.ServerConnectionTests.test_ping_explicit_binary) ping sends a ping frame with a payload provided as binary. ... ok test_ping_explicit_text (tests.asyncio.test_connection.ServerConnectionTests.test_ping_explicit_text) ping sends a ping frame with a payload provided as text. ... ok test_ping_unsupported_type (tests.asyncio.test_connection.ServerConnectionTests.test_ping_unsupported_type) ping raises TypeError when called with an unsupported type. ... ok test_pong (tests.asyncio.test_connection.ServerConnectionTests.test_pong) pong sends a pong frame. ... ok test_pong_explicit_binary (tests.asyncio.test_connection.ServerConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ... ok test_pong_explicit_text (tests.asyncio.test_connection.ServerConnectionTests.test_pong_explicit_text) pong sends a pong frame with a payload provided as text. ... ok test_pong_unsupported_type (tests.asyncio.test_connection.ServerConnectionTests.test_pong_unsupported_type) pong raises TypeError when called with an unsupported type. ... ok test_recv_binary (tests.asyncio.test_connection.ServerConnectionTests.test_recv_binary) recv receives a binary message. ... ok test_recv_binary_as_text (tests.asyncio.test_connection.ServerConnectionTests.test_recv_binary_as_text) recv receives a binary message as a str. ... ok test_recv_cancellation_before_receiving (tests.asyncio.test_connection.ServerConnectionTests.test_recv_cancellation_before_receiving) recv can be canceled before receiving a message. ... ok test_recv_cancellation_while_receiving (tests.asyncio.test_connection.ServerConnectionTests.test_recv_cancellation_while_receiving) recv can be canceled while receiving a fragmented message. ... ok test_recv_connection_closed_error (tests.asyncio.test_connection.ServerConnectionTests.test_recv_connection_closed_error) recv raises ConnectionClosedError after an error. ... ok test_recv_connection_closed_ok (tests.asyncio.test_connection.ServerConnectionTests.test_recv_connection_closed_ok) recv raises ConnectionClosedOK after a normal closure. ... ok test_recv_during_recv (tests.asyncio.test_connection.ServerConnectionTests.test_recv_during_recv) recv raises ConcurrencyError when called concurrently. ... ok test_recv_during_recv_streaming (tests.asyncio.test_connection.ServerConnectionTests.test_recv_during_recv_streaming) recv raises ConcurrencyError when called concurrently with recv_streaming. ... ok test_recv_fragmented_binary (tests.asyncio.test_connection.ServerConnectionTests.test_recv_fragmented_binary) recv receives a fragmented binary message. ... ok test_recv_fragmented_text (tests.asyncio.test_connection.ServerConnectionTests.test_recv_fragmented_text) recv receives a fragmented text message. ... ok test_recv_non_utf8_text (tests.asyncio.test_connection.ServerConnectionTests.test_recv_non_utf8_text) recv receives a non-UTF-8 text message. ... ok test_recv_streaming_binary (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_binary) recv_streaming receives a binary message. ... ok test_recv_streaming_binary_as_str (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_binary_as_str) recv_streaming receives a binary message as a str. ... ok test_recv_streaming_cancellation_before_receiving (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_cancellation_before_receiving) recv_streaming can be canceled before receiving a message. ... ok test_recv_streaming_cancellation_while_receiving (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_cancellation_while_receiving) recv_streaming cannot be canceled while receiving a fragmented message. ... ok test_recv_streaming_connection_closed_error (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_connection_closed_error) recv_streaming raises ConnectionClosedError after an error. ... ok test_recv_streaming_connection_closed_ok (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_connection_closed_ok) recv_streaming raises ConnectionClosedOK after a normal closure. ... ok test_recv_streaming_during_recv (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_during_recv) recv_streaming raises ConcurrencyError when called concurrently with recv. ... ok test_recv_streaming_during_recv_streaming (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_during_recv_streaming) recv_streaming raises ConcurrencyError when called concurrently. ... ok test_recv_streaming_fragmented_binary (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_fragmented_binary) recv_streaming receives a fragmented binary message. ... ok test_recv_streaming_fragmented_text (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_fragmented_text) recv_streaming receives a fragmented text message. ... ok test_recv_streaming_non_utf8_text (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_non_utf8_text) recv_streaming receives a non-UTF-8 text message. ... ok test_recv_streaming_text (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_text) recv_streaming receives a text message. ... ok test_recv_streaming_text_as_bytes (tests.asyncio.test_connection.ServerConnectionTests.test_recv_streaming_text_as_bytes) recv_streaming receives a text message as bytes. ... ok test_recv_text (tests.asyncio.test_connection.ServerConnectionTests.test_recv_text) recv receives a text message. ... ok test_recv_text_as_bytes (tests.asyncio.test_connection.ServerConnectionTests.test_recv_text_as_bytes) recv receives a text message as bytes. ... ok test_remote_address (tests.asyncio.test_connection.ServerConnectionTests.test_remote_address) Connection has a remote_address attribute. ... ok test_request (tests.asyncio.test_connection.ServerConnectionTests.test_request) Connection has a request attribute. ... ok test_response (tests.asyncio.test_connection.ServerConnectionTests.test_response) Connection has a response attribute. ... ok test_send_async_fragmented_binary (tests.asyncio.test_connection.ServerConnectionTests.test_send_async_fragmented_binary) send sends a fragmented binary message asynchronously. ... ok test_send_async_fragmented_binary_from_str (tests.asyncio.test_connection.ServerConnectionTests.test_send_async_fragmented_binary_from_str) send sends a fragmented binary message from a str asynchronously. ... ok test_send_async_fragmented_text (tests.asyncio.test_connection.ServerConnectionTests.test_send_async_fragmented_text) send sends a fragmented text message asynchronously. ... ok test_send_async_fragmented_text_from_bytes (tests.asyncio.test_connection.ServerConnectionTests.test_send_async_fragmented_text_from_bytes) send sends a fragmented text message from bytes asynchronously. ... ok test_send_binary (tests.asyncio.test_connection.ServerConnectionTests.test_send_binary) send sends a binary message. ... ok test_send_binary_from_str (tests.asyncio.test_connection.ServerConnectionTests.test_send_binary_from_str) send sends a binary message from a str. ... ok test_send_connection_closed_error (tests.asyncio.test_connection.ServerConnectionTests.test_send_connection_closed_error) send raises ConnectionClosedError after an error. ... ok test_send_connection_closed_ok (tests.asyncio.test_connection.ServerConnectionTests.test_send_connection_closed_ok) send raises ConnectionClosedOK after a normal closure. ... ok test_send_dict (tests.asyncio.test_connection.ServerConnectionTests.test_send_dict) send raises TypeError when called with a dict. ... ok test_send_during_send (tests.asyncio.test_connection.ServerConnectionTests.test_send_during_send) send waits for a previous call to send to complete. ... ok test_send_empty_async_iterable (tests.asyncio.test_connection.ServerConnectionTests.test_send_empty_async_iterable) send does nothing when called with an empty async iterable. ... ok test_send_empty_iterable (tests.asyncio.test_connection.ServerConnectionTests.test_send_empty_iterable) send does nothing when called with an empty iterable. ... ok test_send_fragmented_binary (tests.asyncio.test_connection.ServerConnectionTests.test_send_fragmented_binary) send sends a fragmented binary message. ... ok test_send_fragmented_binary_from_str (tests.asyncio.test_connection.ServerConnectionTests.test_send_fragmented_binary_from_str) send sends a fragmented binary message from a str. ... ok test_send_fragmented_text (tests.asyncio.test_connection.ServerConnectionTests.test_send_fragmented_text) send sends a fragmented text message. ... ok test_send_fragmented_text_from_bytes (tests.asyncio.test_connection.ServerConnectionTests.test_send_fragmented_text_from_bytes) send sends a fragmented text message from bytes. ... ok test_send_mixed_async_iterable (tests.asyncio.test_connection.ServerConnectionTests.test_send_mixed_async_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_mixed_iterable (tests.asyncio.test_connection.ServerConnectionTests.test_send_mixed_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_text (tests.asyncio.test_connection.ServerConnectionTests.test_send_text) send sends a text message. ... ok test_send_text_from_bytes (tests.asyncio.test_connection.ServerConnectionTests.test_send_text_from_bytes) send sends a text message from bytes. ... ok test_send_unsupported_async_iterable (tests.asyncio.test_connection.ServerConnectionTests.test_send_unsupported_async_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_iterable (tests.asyncio.test_connection.ServerConnectionTests.test_send_unsupported_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_type (tests.asyncio.test_connection.ServerConnectionTests.test_send_unsupported_type) send raises TypeError when called with an unsupported type. ... ok test_send_while_send_async_blocked (tests.asyncio.test_connection.ServerConnectionTests.test_send_while_send_async_blocked) send waits for a blocked call to send to complete. ... ok test_send_while_send_blocked (tests.asyncio.test_connection.ServerConnectionTests.test_send_while_send_blocked) send waits for a blocked call to send to complete. ... ok test_state (tests.asyncio.test_connection.ServerConnectionTests.test_state) Connection has a state attribute. ... ok test_subprotocol (tests.asyncio.test_connection.ServerConnectionTests.test_subprotocol) Connection has a subprotocol attribute. ... ok test_terminate_ping_on_close (tests.asyncio.test_connection.ServerConnectionTests.test_terminate_ping_on_close) ping is done with an exception when the connection is closed. ... ok test_unexpected_failure_in_data_received (tests.asyncio.test_connection.ServerConnectionTests.test_unexpected_failure_in_data_received) Unexpected internal error in data_received() is correctly reported. ... ok test_unexpected_failure_in_send_context (tests.asyncio.test_connection.ServerConnectionTests.test_unexpected_failure_in_send_context) Unexpected internal error in send_context() is correctly reported. ... ok test_wait_closed (tests.asyncio.test_connection.ServerConnectionTests.test_wait_closed) wait_closed waits for the connection to close. ... ok test_write_limit (tests.asyncio.test_connection.ServerConnectionTests.test_write_limit) write_limit parameter configures high-water mark of write buffer. ... ok test_write_limits (tests.asyncio.test_connection.ServerConnectionTests.test_write_limits) write_limit parameter configures high and low-water marks of write buffer. ... ok test_writing_in_data_received_fails (tests.asyncio.test_connection.ServerConnectionTests.test_writing_in_data_received_fails) Error when responding to incoming frames is correctly reported. ... ok test_writing_in_send_context_fails (tests.asyncio.test_connection.ServerConnectionTests.test_writing_in_send_context_fails) Error when sending outgoing frame is correctly reported. ... ok test_cancel_get_after_first_frame (tests.asyncio.test_messages.AssemblerTests.test_cancel_get_after_first_frame) get can be canceled safely after reading the first frame. ... ok test_cancel_get_before_first_frame (tests.asyncio.test_messages.AssemblerTests.test_cancel_get_before_first_frame) get can be canceled safely before reading the first frame. ... ok test_cancel_get_iter_after_first_frame (tests.asyncio.test_messages.AssemblerTests.test_cancel_get_iter_after_first_frame) get_iter cannot be canceled after reading the first frame. ... ok test_cancel_get_iter_before_first_frame (tests.asyncio.test_messages.AssemblerTests.test_cancel_get_iter_before_first_frame) get_iter can be canceled safely before reading the first frame. ... ok test_close_is_idempotent (tests.asyncio.test_messages.AssemblerTests.test_close_is_idempotent) close can be called multiple times safely. ... ok test_get_binary_message_already_received (tests.asyncio.test_messages.AssemblerTests.test_get_binary_message_already_received) get returns a binary message that is already received. ... ok test_get_binary_message_not_received_yet (tests.asyncio.test_messages.AssemblerTests.test_get_binary_message_not_received_yet) get returns a binary message when it is received. ... ok test_get_decoded_binary_message (tests.asyncio.test_messages.AssemblerTests.test_get_decoded_binary_message) get returns a binary message with UTF-8 decoding. ... ok test_get_does_not_resume_reading (tests.asyncio.test_messages.AssemblerTests.test_get_does_not_resume_reading) get does not resume reading when the low-water mark is unset. ... ok test_get_encoded_text_message (tests.asyncio.test_messages.AssemblerTests.test_get_encoded_text_message) get returns a text message without UTF-8 decoding. ... ok test_get_fails_after_close (tests.asyncio.test_messages.AssemblerTests.test_get_fails_after_close) get raises EOFError after close is called. ... ok test_get_fails_when_get_is_running (tests.asyncio.test_messages.AssemblerTests.test_get_fails_when_get_is_running) get cannot be called concurrently. ... ok test_get_fails_when_get_iter_is_running (tests.asyncio.test_messages.AssemblerTests.test_get_fails_when_get_iter_is_running) get cannot be called concurrently with get_iter. ... ok test_get_fails_when_interrupted_by_close (tests.asyncio.test_messages.AssemblerTests.test_get_fails_when_interrupted_by_close) get raises EOFError when close is called. ... ok test_get_fragmented_binary_message_already_received (tests.asyncio.test_messages.AssemblerTests.test_get_fragmented_binary_message_already_received) get reassembles a fragmented binary message that is already received. ... ok test_get_fragmented_binary_message_being_received (tests.asyncio.test_messages.AssemblerTests.test_get_fragmented_binary_message_being_received) get reassembles a fragmented binary message that is partially received. ... ok test_get_fragmented_binary_message_not_received_yet (tests.asyncio.test_messages.AssemblerTests.test_get_fragmented_binary_message_not_received_yet) get reassembles a fragmented binary message when it is received. ... ok test_get_fragmented_text_message_already_received (tests.asyncio.test_messages.AssemblerTests.test_get_fragmented_text_message_already_received) get reassembles a fragmented a text message that is already received. ... ok test_get_fragmented_text_message_being_received (tests.asyncio.test_messages.AssemblerTests.test_get_fragmented_text_message_being_received) get reassembles a fragmented text message that is partially received. ... ok test_get_fragmented_text_message_not_received_yet (tests.asyncio.test_messages.AssemblerTests.test_get_fragmented_text_message_not_received_yet) get reassembles a fragmented text message when it is received. ... ok test_get_iter_binary_message_already_received (tests.asyncio.test_messages.AssemblerTests.test_get_iter_binary_message_already_received) get_iter yields a binary message that is already received. ... ok test_get_iter_binary_message_not_received_yet (tests.asyncio.test_messages.AssemblerTests.test_get_iter_binary_message_not_received_yet) get_iter yields a binary message when it is received. ... ok test_get_iter_decoded_binary_message (tests.asyncio.test_messages.AssemblerTests.test_get_iter_decoded_binary_message) get_iter yields a binary message with UTF-8 decoding. ... ok test_get_iter_does_not_resume_reading (tests.asyncio.test_messages.AssemblerTests.test_get_iter_does_not_resume_reading) get_iter does not resume reading when the low-water mark is unset. ... ok test_get_iter_encoded_text_message (tests.asyncio.test_messages.AssemblerTests.test_get_iter_encoded_text_message) get_iter yields a text message without UTF-8 decoding. ... ok test_get_iter_fails_after_close (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fails_after_close) get_iter raises EOFError after close is called. ... ok test_get_iter_fails_when_get_is_running (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fails_when_get_is_running) get_iter cannot be called concurrently with get. ... ok test_get_iter_fails_when_get_iter_is_running (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fails_when_get_iter_is_running) get_iter cannot be called concurrently. ... ok test_get_iter_fails_when_interrupted_by_close (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fails_when_interrupted_by_close) get_iter raises EOFError when close is called. ... ok test_get_iter_fragmented_binary_message_already_received (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_already_received) get_iter yields a fragmented binary message that is already received. ... ok test_get_iter_fragmented_binary_message_being_received (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_being_received) get_iter yields a fragmented binary message that is partially received. ... ok test_get_iter_fragmented_binary_message_not_received_yet (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_not_received_yet) get_iter yields a fragmented binary message when it is received. ... ok test_get_iter_fragmented_text_message_already_received (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_already_received) get_iter yields a fragmented text message that is already received. ... ok test_get_iter_fragmented_text_message_being_received (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_being_received) get_iter yields a fragmented text message that is partially received. ... ok test_get_iter_fragmented_text_message_not_received_yet (tests.asyncio.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_not_received_yet) get_iter yields a fragmented text message when it is received. ... ok test_get_iter_partially_queued_fragmented_message_after_close (tests.asyncio.test_messages.AssemblerTests.test_get_iter_partially_queued_fragmented_message_after_close) get_iter yields a partial fragmented message after close is called. ... ok test_get_iter_queued_fragmented_message_after_close (tests.asyncio.test_messages.AssemblerTests.test_get_iter_queued_fragmented_message_after_close) get_iter yields a fragmented message after close is called. ... ok test_get_iter_queued_message_after_close (tests.asyncio.test_messages.AssemblerTests.test_get_iter_queued_message_after_close) get_iter yields a message after close is called. ... ok test_get_iter_resumes_reading (tests.asyncio.test_messages.AssemblerTests.test_get_iter_resumes_reading) get_iter resumes reading when queue goes below the low-water mark. ... ok test_get_iter_text_message_already_received (tests.asyncio.test_messages.AssemblerTests.test_get_iter_text_message_already_received) get_iter yields a text message that is already received. ... ok test_get_iter_text_message_not_received_yet (tests.asyncio.test_messages.AssemblerTests.test_get_iter_text_message_not_received_yet) get_iter yields a text message when it is received. ... ok test_get_partially_queued_fragmented_message_after_close (tests.asyncio.test_messages.AssemblerTests.test_get_partially_queued_fragmented_message_after_close) get raises EOFError on a partial fragmented message after close is called. ... ok test_get_queued_fragmented_message_after_close (tests.asyncio.test_messages.AssemblerTests.test_get_queued_fragmented_message_after_close) get reassembles a fragmented message after close is called. ... ok test_get_queued_message_after_close (tests.asyncio.test_messages.AssemblerTests.test_get_queued_message_after_close) get returns a message after close is called. ... ok test_get_resumes_reading (tests.asyncio.test_messages.AssemblerTests.test_get_resumes_reading) get resumes reading when queue goes below the low-water mark. ... ok test_get_text_message_already_received (tests.asyncio.test_messages.AssemblerTests.test_get_text_message_already_received) get returns a text message that is already received. ... ok test_get_text_message_not_received_yet (tests.asyncio.test_messages.AssemblerTests.test_get_text_message_not_received_yet) get returns a text message when it is received. ... ok test_put_does_not_pause_reading (tests.asyncio.test_messages.AssemblerTests.test_put_does_not_pause_reading) put does not pause reading when the high-water mark is unset. ... ok test_put_fails_after_close (tests.asyncio.test_messages.AssemblerTests.test_put_fails_after_close) put raises EOFError after close is called. ... ok test_put_pauses_reading (tests.asyncio.test_messages.AssemblerTests.test_put_pauses_reading) put pauses reading when queue goes above the high-water mark. ... ok test_set_high_and_low_water_marks (tests.asyncio.test_messages.AssemblerTests.test_set_high_and_low_water_marks) high and low set the high-water and low-water marks. ... ok test_set_high_water_mark (tests.asyncio.test_messages.AssemblerTests.test_set_high_water_mark) high sets the high-water and low-water marks. ... ok test_set_invalid_high_water_mark (tests.asyncio.test_messages.AssemblerTests.test_set_invalid_high_water_mark) high must be a non-negative integer. ... ok test_set_invalid_low_water_mark (tests.asyncio.test_messages.AssemblerTests.test_set_invalid_low_water_mark) low must be higher than high. ... ok test_set_low_water_mark (tests.asyncio.test_messages.AssemblerTests.test_set_low_water_mark) low sets the low-water and high-water marks. ... ok test_unset_high_and_low_water_marks (tests.asyncio.test_messages.AssemblerTests.test_unset_high_and_low_water_marks) High-water and low-water marks are unset. ... ok test_abort (tests.asyncio.test_messages.SimpleQueueTests.test_abort) abort throws an exception in get. ... ok test_get_then_put (tests.asyncio.test_messages.SimpleQueueTests.test_get_then_put) get returns an item when it is put. ... ok test_len (tests.asyncio.test_messages.SimpleQueueTests.test_len) __len__ returns queue length. ... ok test_put_then_get (tests.asyncio.test_messages.SimpleQueueTests.test_put_then_get) get returns an item that is already put. ... ok test_reset (tests.asyncio.test_messages.SimpleQueueTests.test_reset) reset sets the content of the queue. ... ok test_custom_router_factory (tests.asyncio.test_router.RouterTests.test_custom_router_factory) Router supports a custom router factory. ... ok test_force_redirect_server_name (tests.asyncio.test_router.RouterTests.test_force_redirect_server_name) Router redirects connections to the host declared in server_name. ... ok test_force_secure_redirect (tests.asyncio.test_router.RouterTests.test_force_secure_redirect) Router redirects ws:// connections to a wss:// URI when ssl=True. ... ok test_not_found (tests.asyncio.test_router.RouterTests.test_not_found) Router rejects requests to unknown paths with an HTTP 404 error. ... ok test_process_request_coroutine_returning_none (tests.asyncio.test_router.RouterTests.test_process_request_coroutine_returning_none) Router supports a process_request coroutine returning None. ... ok test_process_request_coroutine_returning_response (tests.asyncio.test_router.RouterTests.test_process_request_coroutine_returning_response) Router supports a process_request coroutine returning a response. ... ok test_process_request_function_returning_none (tests.asyncio.test_router.RouterTests.test_process_request_function_returning_none) Router supports a process_request function returning None. ... ok test_process_request_function_returning_response (tests.asyncio.test_router.RouterTests.test_process_request_function_returning_response) Router supports a process_request function returning a response. ... ok test_redirect (tests.asyncio.test_router.RouterTests.test_redirect) Router redirects connections according to redirect_to. ... ok test_route_with_query_string (tests.asyncio.test_router.RouterTests.test_route_with_query_string) Router ignores query strings when matching paths. ... ok test_router_matches_paths_and_extracts_parameters (tests.asyncio.test_router.RouterTests.test_router_matches_paths_and_extracts_parameters) Router matches paths and extracts parameters. ... ok test_secure_redirect (tests.asyncio.test_router.RouterTests.test_secure_redirect) Router redirects connections according to redirect_to when TLS is enabled. ... ok test_router_supports_unix_sockets (tests.asyncio.test_router.UnixRouterTests.test_router_supports_unix_sockets) Router supports Unix sockets. ... ok test_authorization_with_incorrect_password (tests.asyncio.test_server.BasicAuthTests.test_authorization_with_incorrect_password) basic_auth rejects client with incorrect password. ... ok test_authorization_with_unknown_username (tests.asyncio.test_server.BasicAuthTests.test_authorization_with_unknown_username) basic_auth rejects client with unknown username. ... ok test_bad_credentials (tests.asyncio.test_server.BasicAuthTests.test_bad_credentials) basic_auth receives an unsupported credentials argument. ... ok test_bad_list_of_credentials (tests.asyncio.test_server.BasicAuthTests.test_bad_list_of_credentials) basic_auth receives an unsupported credentials argument. ... ok test_check_credentials_coroutine (tests.asyncio.test_server.BasicAuthTests.test_check_credentials_coroutine) basic_auth accepts a check_credentials coroutine. ... ok test_check_credentials_function (tests.asyncio.test_server.BasicAuthTests.test_check_credentials_function) basic_auth accepts a check_credentials function. ... ok test_list_of_credentials (tests.asyncio.test_server.BasicAuthTests.test_list_of_credentials) basic_auth accepts a list of hard coded credentials. ... ok test_missing_authorization (tests.asyncio.test_server.BasicAuthTests.test_missing_authorization) basic_auth rejects client without credentials. ... ok test_unsupported_authorization (tests.asyncio.test_server.BasicAuthTests.test_unsupported_authorization) basic_auth rejects client with unsupported credentials. ... ok test_valid_authorization (tests.asyncio.test_server.BasicAuthTests.test_valid_authorization) basic_auth authenticates client with HTTP Basic Authentication. ... ok test_with_credentials_and_check_credentials (tests.asyncio.test_server.BasicAuthTests.test_with_credentials_and_check_credentials) basic_auth requires only one of credentials and check_credentials. ... ok test_without_credentials_or_check_credentials (tests.asyncio.test_server.BasicAuthTests.test_without_credentials_or_check_credentials) basic_auth requires either credentials or check_credentials. ... ok test_connection (tests.asyncio.test_server.SecureServerTests.test_connection) Server receives secure connection from client. ... ok test_connection_closed_during_tls_handshake (tests.asyncio.test_server.SecureServerTests.test_connection_closed_during_tls_handshake) Server reads EOF before receiving TLS handshake request from client. ... ok test_timeout_during_tls_handshake (tests.asyncio.test_server.SecureServerTests.test_timeout_during_tls_handshake) Server times out before receiving TLS handshake request from client. ... ok test_connection (tests.asyncio.test_server.SecureUnixServerTests.test_connection) Server receives secure connection from client over a Unix socket. ... ok test_async_process_request_raises_exception (tests.asyncio.test_server.ServerTests.test_async_process_request_raises_exception) Server returns an error if async process_request raises an exception. ... ok test_async_process_request_returns_none (tests.asyncio.test_server.ServerTests.test_async_process_request_returns_none) Server runs async process_request and continues the handshake. ... ok test_async_process_request_returns_response (tests.asyncio.test_server.ServerTests.test_async_process_request_returns_response) Server aborts handshake if async process_request returns a response. ... ok test_async_process_response_modifies_response (tests.asyncio.test_server.ServerTests.test_async_process_response_modifies_response) Server runs async process_response and modifies the handshake response. ... ok test_async_process_response_raises_exception (tests.asyncio.test_server.ServerTests.test_async_process_response_raises_exception) Server returns an error if async process_response raises an exception. ... ok test_async_process_response_replaces_response (tests.asyncio.test_server.ServerTests.test_async_process_response_replaces_response) Server runs async process_response and replaces the handshake response. ... ok test_async_process_response_returns_none (tests.asyncio.test_server.ServerTests.test_async_process_response_returns_none) Server runs async process_response but keeps the handshake response. ... ok test_canceling_serve_forever_closes_open_connections (tests.asyncio.test_server.ServerTests.test_canceling_serve_forever_closes_open_connections) Canceling serve_forever() closes open connections with code 1001. ... ok test_close_closes_open_connections (tests.asyncio.test_server.ServerTests.test_close_closes_open_connections) Server closes open connections with close code 1001. ... ok test_close_closes_open_connections_with_code_and_reason (tests.asyncio.test_server.ServerTests.test_close_closes_open_connections_with_code_and_reason) Server closes open connections with custom code and reason. ... ok test_close_exits_serve_forever (tests.asyncio.test_server.ServerTests.test_close_exits_serve_forever) Closing the server exits serve_forever(). ... ok test_close_keeps_connections_open (tests.asyncio.test_server.ServerTests.test_close_keeps_connections_open) Server waits for the client to close open connections. ... ok test_close_keeps_handlers_running (tests.asyncio.test_server.ServerTests.test_close_keeps_handlers_running) Server waits for connection handlers to terminate. ... ok test_close_rejects_connecting_connections (tests.asyncio.test_server.ServerTests.test_close_rejects_connecting_connections) Server rejects connecting connections with HTTP 503. ... ok test_close_stops_accepting_connections (tests.asyncio.test_server.ServerTests.test_close_stops_accepting_connections) Server stops accepting connections. ... ok test_compression_is_enabled (tests.asyncio.test_server.ServerTests.test_compression_is_enabled) Server enables compression by default. ... ok test_connection (tests.asyncio.test_server.ServerTests.test_connection) Server receives connection from client and the handshake succeeds. ... ok test_connection_closed_before_handshake_request (tests.asyncio.test_server.ServerTests.test_connection_closed_before_handshake_request) Server reads EOF before receiving handshake request from client. ... ok test_connection_closed_before_handshake_response (tests.asyncio.test_server.ServerTests.test_connection_closed_before_handshake_response) Server reads EOF before sending handshake response to client. ... ok test_connection_handler_raises_exception (tests.asyncio.test_server.ServerTests.test_connection_handler_raises_exception) Connection handler raises an exception. ... ok test_connection_handler_returns (tests.asyncio.test_server.ServerTests.test_connection_handler_returns) Connection handler returns. ... ok test_connections (tests.asyncio.test_server.ServerTests.test_connections) Server provides a connections property. ... ok test_context_manager_closes_server (tests.asyncio.test_server.ServerTests.test_context_manager_closes_server) Server closes when exiting the asynchronous context manager. ... ok test_context_manager_with_await_closes_server (tests.asyncio.test_server.ServerTests.test_context_manager_with_await_closes_server) Server closes when exiting the asynchronous context manager after await. ... ok test_custom_connection_factory (tests.asyncio.test_server.ServerTests.test_custom_connection_factory) Server runs ServerConnection factory provided in create_connection. ... ok test_disable_compression (tests.asyncio.test_server.ServerTests.test_disable_compression) Server disables compression. ... ok test_disable_keepalive (tests.asyncio.test_server.ServerTests.test_disable_keepalive) Server disables keepalive. ... ok test_existing_socket (tests.asyncio.test_server.ServerTests.test_existing_socket) Server receives connection using a pre-existing socket. ... ok test_get_loop (tests.asyncio.test_server.ServerTests.test_get_loop) Server provides a get_loop() method. ... ok test_handshake_fails (tests.asyncio.test_server.ServerTests.test_handshake_fails) Server receives connection from client but the handshake fails. ... ok test_is_serving (tests.asyncio.test_server.ServerTests.test_is_serving) Server provides an is_serving() method. ... ok test_junk_handshake_request (tests.asyncio.test_server.ServerTests.test_junk_handshake_request) Server closes the connection when receiving non-HTTP request from client. ... ok test_keepalive_is_enabled (tests.asyncio.test_server.ServerTests.test_keepalive_is_enabled) Server enables keepalive and measures latency. ... ok test_logger (tests.asyncio.test_server.ServerTests.test_logger) Server accepts a logger argument. ... ok test_override_server_header (tests.asyncio.test_server.ServerTests.test_override_server_header) Server can override Server header with server_header. ... ok test_process_request_raises_exception (tests.asyncio.test_server.ServerTests.test_process_request_raises_exception) Server returns an error if process_request raises an exception. ... ok test_process_request_returns_none (tests.asyncio.test_server.ServerTests.test_process_request_returns_none) Server runs process_request and continues the handshake. ... ok test_process_request_returns_response (tests.asyncio.test_server.ServerTests.test_process_request_returns_response) Server aborts handshake if process_request returns a response. ... ok test_process_response_modifies_response (tests.asyncio.test_server.ServerTests.test_process_response_modifies_response) Server runs process_response and modifies the handshake response. ... ok test_process_response_raises_exception (tests.asyncio.test_server.ServerTests.test_process_response_raises_exception) Server returns an error if process_response raises an exception. ... ok test_process_response_replaces_response (tests.asyncio.test_server.ServerTests.test_process_response_replaces_response) Server runs process_response and replaces the handshake response. ... ok test_process_response_returns_none (tests.asyncio.test_server.ServerTests.test_process_response_returns_none) Server runs process_response but keeps the handshake response. ... ok test_remove_server_header (tests.asyncio.test_server.ServerTests.test_remove_server_header) Server can remove Server header with server_header. ... ok test_select_subprotocol (tests.asyncio.test_server.ServerTests.test_select_subprotocol) Server selects a subprotocol with the select_subprotocol callable. ... ok test_select_subprotocol_raises_exception (tests.asyncio.test_server.ServerTests.test_select_subprotocol_raises_exception) Server returns an error if select_subprotocol raises an exception. ... ok test_select_subprotocol_rejects_handshake (tests.asyncio.test_server.ServerTests.test_select_subprotocol_rejects_handshake) Server rejects handshake if select_subprotocol raises NegotiationError. ... ok test_serve_forever (tests.asyncio.test_server.ServerTests.test_serve_forever) Server runs until canceled when serve_forever() is called. ... ok test_serve_forever_starts_serving (tests.asyncio.test_server.ServerTests.test_serve_forever_starts_serving) Server starts serving when serve_forever() is called. ... ok test_sockets (tests.asyncio.test_server.ServerTests.test_sockets) Server provides a sockets property. ... ok test_start_serving (tests.asyncio.test_server.ServerTests.test_start_serving) Server starts serving when start_serving() is called. ... ok test_timeout_before_handshake_request (tests.asyncio.test_server.ServerTests.test_timeout_before_handshake_request) Server times out before receiving handshake request from client. ... ok test_wait_closed (tests.asyncio.test_server.ServerTests.test_wait_closed) Server provides a wait_closed() method. ... ok test_host_and_sock (tests.asyncio.test_server.ServerUsageErrorsTests.test_host_and_sock) Server rejects host when sock is provided. ... ok test_invalid_subprotocol (tests.asyncio.test_server.ServerUsageErrorsTests.test_invalid_subprotocol) Server rejects single value of subprotocols. ... ok test_port_and_sock (tests.asyncio.test_server.ServerUsageErrorsTests.test_port_and_sock) Server rejects port when sock is provided. ... ok test_unix_with_path_and_sock (tests.asyncio.test_server.ServerUsageErrorsTests.test_unix_with_path_and_sock) Unix server rejects path when sock is provided. ... ok test_unix_without_path_or_sock (tests.asyncio.test_server.ServerUsageErrorsTests.test_unix_without_path_or_sock) Unix server requires path when sock isn't provided. ... ok test_unsupported_compression (tests.asyncio.test_server.ServerUsageErrorsTests.test_unsupported_compression) Server rejects incorrect value of compression. ... ok test_connection (tests.asyncio.test_server.UnixServerTests.test_connection) Server receives connection from client over a Unix socket. ... ok test_pathlib_path (tests.asyncio.test_server.UnixServerTests.test_pathlib_path) Server accepts a pathlib.Path object as the path argument. ... ok test_get_request_params (tests.extensions.test_base.ClientExtensionFactoryTests.test_get_request_params) ... ok test_process_response_params (tests.extensions.test_base.ClientExtensionFactoryTests.test_process_response_params) ... ok test_decode (tests.extensions.test_base.ExtensionTests.test_decode) ... ok test_encode (tests.extensions.test_base.ExtensionTests.test_encode) ... ok test_process_request_params (tests.extensions.test_base.ServerExtensionFactoryTests.test_process_request_params) ... ok test_enable_client_permessage_deflate (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_enable_client_permessage_deflate) ... ok test_get_request_params (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_get_request_params) ... ok test_init (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_init) ... ok test_init_error (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_init_error) ... ok test_name (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_name) ... ok test_process_response_params (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_process_response_params) ... ok test_process_response_params_deduplication (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_process_response_params_deduplication) ... ok test_compress_settings (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_compress_settings) ... ok test_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_context_takeover) ... ok test_decompress_max_size (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_decompress_max_size) ... ok test_decompress_max_size_off_by_one (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_decompress_max_size_off_by_one) ... ok test_encode_decode_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_binary_frame) ... ok test_encode_decode_fragmented_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_fragmented_binary_frame) ... ok test_encode_decode_fragmented_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_fragmented_text_frame) ... ok test_encode_decode_large_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_large_frame) ... ok test_encode_decode_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_text_frame) ... ok test_local_no_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_local_no_context_takeover) ... ok test_name (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_name) ... ok test_no_decode_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_binary_frame) ... ok test_no_decode_fragmented_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_fragmented_binary_frame) ... ok test_no_decode_fragmented_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_fragmented_text_frame) ... ok test_no_decode_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_text_frame) ... ok test_no_encode_decode_close_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_close_frame) ... ok test_no_encode_decode_ping_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_ping_frame) ... ok test_no_encode_decode_pong_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_pong_frame) ... ok test_remote_no_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_remote_no_context_takeover) ... ok test_repr (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_repr) ... ok test_rsv1_on_continuation_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_rsv1_on_continuation_frame) ... ok test_enable_server_permessage_deflate (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_enable_server_permessage_deflate) ... ok test_init (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_init) ... ok test_init_error (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_init_error) ... ok test_name (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_name) ... ok test_process_request_params (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_process_request_params) ... ok test_process_response_params_deduplication (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_process_response_params_deduplication) ... ok test_basic_auth (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth) ... ok test_basic_auth_bad_multiple_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_bad_multiple_credentials) ... ok test_basic_auth_check_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_check_credentials) ... ok test_basic_auth_custom_protocol (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_custom_protocol) ... ok test_basic_auth_custom_protocol_subclass (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_custom_protocol_subclass) ... ok test_basic_auth_defaults_to_deny_all (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_defaults_to_deny_all) ... ok test_basic_auth_invalid_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_credentials_details) ... ok test_basic_auth_invalid_password (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_password) ... ok test_basic_auth_invalid_username (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_username) ... ok test_basic_auth_missing_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_missing_credentials) ... ok test_basic_auth_missing_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_missing_credentials_details) ... ok test_basic_auth_server_bad_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_bad_credentials) ... ok test_basic_auth_server_multiple_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_multiple_credentials) ... ok test_basic_auth_server_no_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_no_credentials) ... ok test_basic_auth_unsupported_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_unsupported_credentials) ... ok test_basic_auth_unsupported_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_unsupported_credentials_details) ... ok test_is_credentials (tests.legacy.test_auth.AuthTests.test_is_credentials) ... ok test_is_not_credentials (tests.legacy.test_auth.AuthTests.test_is_not_credentials) ... ok test_client (tests.legacy.test_client_server.AsyncAwaitTests.test_client) ... ok test_server (tests.legacy.test_client_server.AsyncAwaitTests.test_server) ... ok test_iterate_on_messages (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages) ... ok test_iterate_on_messages_going_away_exit_ok (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages_going_away_exit_ok) ... ok test_iterate_on_messages_internal_error_exit_not_ok (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages_internal_error_exit_not_ok) ... ok test_checking_lack_of_origin_succeeds (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_lack_of_origin_succeeds) ... ok test_checking_lack_of_origin_succeeds_backwards_compatibility (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_lack_of_origin_succeeds_backwards_compatibility) ... ok test_checking_origin_fails (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origin_fails) ... ok test_checking_origin_succeeds (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origin_succeeds) ... ok test_checking_origins_fails_with_multiple_headers (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origins_fails_with_multiple_headers) ... ok test_basic (tests.legacy.test_client_server.ClientServerTests.test_basic) ... ok test_client_close_timeout (tests.legacy.test_client_server.ClientServerTests.test_client_close_timeout) ... ok test_client_close_timeout_over_timeout (tests.legacy.test_client_server.ClientServerTests.test_client_close_timeout_over_timeout) ... ok test_client_closes_connection_before_handshake (tests.legacy.test_client_server.ClientServerTests.test_client_closes_connection_before_handshake) ... ok test_client_connect_canceled_during_handshake (tests.legacy.test_client_server.ClientServerTests.test_client_connect_canceled_during_handshake) ... ERROR test_client_create_protocol (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol) ... ok test_client_create_protocol_function (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol_function) ... ok test_client_create_protocol_over_klass (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol_over_klass) ... ok test_client_klass (tests.legacy.test_client_server.ClientServerTests.test_client_klass) ... ok test_client_receives_malformed_response (tests.legacy.test_client_server.ClientServerTests.test_client_receives_malformed_response) ... ok test_client_sends_invalid_handshake_request (tests.legacy.test_client_server.ClientServerTests.test_client_sends_invalid_handshake_request) ... ok test_client_timeout_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_client_timeout_backwards_compatibility) ... ok test_compression_deflate (tests.legacy.test_client_server.ClientServerTests.test_compression_deflate) ... ok test_compression_unsupported_client (tests.legacy.test_client_server.ClientServerTests.test_compression_unsupported_client) ... ok test_compression_unsupported_server (tests.legacy.test_client_server.ClientServerTests.test_compression_unsupported_server) ... ok test_connection_error_during_closing_handshake (tests.legacy.test_client_server.ClientServerTests.test_connection_error_during_closing_handshake) ... ok test_connection_error_during_opening_handshake (tests.legacy.test_client_server.ClientServerTests.test_connection_error_during_opening_handshake) ... ok test_explicit_host_port (tests.legacy.test_client_server.ClientServerTests.test_explicit_host_port) ... ok test_explicit_socket (tests.legacy.test_client_server.ClientServerTests.test_explicit_socket) ... ok test_extension (tests.legacy.test_client_server.ClientServerTests.test_extension) ... ok test_extension_client_rejection (tests.legacy.test_client_server.ClientServerTests.test_extension_client_rejection) ... ok test_extension_mismatch (tests.legacy.test_client_server.ClientServerTests.test_extension_mismatch) ... ok test_extension_no_match_then_match (tests.legacy.test_client_server.ClientServerTests.test_extension_no_match_then_match) ... ok test_extension_not_accepted (tests.legacy.test_client_server.ClientServerTests.test_extension_not_accepted) ... ok test_extension_not_requested (tests.legacy.test_client_server.ClientServerTests.test_extension_not_requested) ... ok test_extension_order (tests.legacy.test_client_server.ClientServerTests.test_extension_order) ... ok test_extensions_error (tests.legacy.test_client_server.ClientServerTests.test_extensions_error) ... ok test_extensions_error_no_extensions (tests.legacy.test_client_server.ClientServerTests.test_extensions_error_no_extensions) ... ok test_http_request_custom_server_header (tests.legacy.test_client_server.ClientServerTests.test_http_request_custom_server_header) ... ok test_http_request_http_endpoint (tests.legacy.test_client_server.ClientServerTests.test_http_request_http_endpoint) ... ok test_http_request_no_server_header (tests.legacy.test_client_server.ClientServerTests.test_http_request_no_server_header) ... ok test_http_request_ws_endpoint (tests.legacy.test_client_server.ClientServerTests.test_http_request_ws_endpoint) ... ok test_infinite_redirect (tests.legacy.test_client_server.ClientServerTests.test_infinite_redirect) ... ok test_invalid_status_error_during_client_connect (tests.legacy.test_client_server.ClientServerTests.test_invalid_status_error_during_client_connect) ... ok test_invalid_subprotocol_client (tests.legacy.test_client_server.ClientServerTests.test_invalid_subprotocol_client) ... ok test_invalid_subprotocol_server (tests.legacy.test_client_server.ClientServerTests.test_invalid_subprotocol_server) ... ok test_loop_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_loop_backwards_compatibility) ... ok test_no_extension (tests.legacy.test_client_server.ClientServerTests.test_no_extension) ... ok test_no_subprotocol (tests.legacy.test_client_server.ClientServerTests.test_no_subprotocol) ... ok test_process_request_argument (tests.legacy.test_client_server.ClientServerTests.test_process_request_argument) ... ok test_process_request_argument_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_process_request_argument_backwards_compatibility) ... ok test_process_request_override (tests.legacy.test_client_server.ClientServerTests.test_process_request_override) ... ok test_process_request_override_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_process_request_override_backwards_compatibility) ... ok test_process_request_returns_int_status (tests.legacy.test_client_server.ClientServerTests.test_process_request_returns_int_status) ... ok test_protocol_custom_request_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_request_headers) ... ok test_protocol_custom_response_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers) ... ok test_protocol_custom_response_headers_callable (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers_callable) ... ok test_protocol_custom_response_headers_callable_none (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers_callable_none) ... ok test_protocol_custom_server_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_server_header) ... ok test_protocol_custom_server_header_legacy (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_server_header_legacy) ... ok test_protocol_custom_user_agent_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_user_agent_header) ... ok test_protocol_custom_user_agent_header_legacy (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_user_agent_header_legacy) ... ok test_protocol_deprecated_attributes (tests.legacy.test_client_server.ClientServerTests.test_protocol_deprecated_attributes) ... ok test_protocol_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_headers) ... ok test_protocol_no_server_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_no_server_header) ... ok test_protocol_no_user_agent_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_no_user_agent_header) ... ok test_protocol_path (tests.legacy.test_client_server.ClientServerTests.test_protocol_path) ... ok test_redirect (tests.legacy.test_client_server.ClientServerTests.test_redirect) ... ok test_redirect_missing_location (tests.legacy.test_client_server.ClientServerTests.test_redirect_missing_location) ... ok test_redirect_relative_location (tests.legacy.test_client_server.ClientServerTests.test_redirect_relative_location) ... ok test_redirect_secure (tests.legacy.test_client_server.ClientServerTests.test_redirect_secure) ... ok test_select_subprotocol_argument (tests.legacy.test_client_server.ClientServerTests.test_select_subprotocol_argument) ... ok test_select_subprotocol_override (tests.legacy.test_client_server.ClientServerTests.test_select_subprotocol_override) ... ok test_server_close_crashes (tests.legacy.test_client_server.ClientServerTests.test_server_close_crashes) ... ok test_server_close_timeout (tests.legacy.test_client_server.ClientServerTests.test_server_close_timeout) ... ok test_server_close_timeout_over_timeout (tests.legacy.test_client_server.ClientServerTests.test_server_close_timeout_over_timeout) ... ok test_server_create_protocol (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol) ... ok test_server_create_protocol_function (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol_function) ... ok test_server_create_protocol_over_klass (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol_over_klass) ... ok test_server_does_not_switch_protocols (tests.legacy.test_client_server.ClientServerTests.test_server_does_not_switch_protocols) ... ok test_server_error_in_handshake (tests.legacy.test_client_server.ClientServerTests.test_server_error_in_handshake) ... ok test_server_handler_crashes (tests.legacy.test_client_server.ClientServerTests.test_server_handler_crashes) ... ok test_server_klass_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_server_klass_backwards_compatibility) ... ok test_server_receives_malformed_request (tests.legacy.test_client_server.ClientServerTests.test_server_receives_malformed_request) ... ok test_server_sends_invalid_handshake_response (tests.legacy.test_client_server.ClientServerTests.test_server_sends_invalid_handshake_response) ... ok test_server_shuts_down_and_waits_until_handlers_terminate (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_and_waits_until_handlers_terminate) ... ok test_server_shuts_down_during_connection_handling (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_during_connection_handling) ... ok test_server_shuts_down_during_opening_handshake (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_during_opening_handshake) ... ok test_server_shuts_down_gracefully_during_connection_handling (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_gracefully_during_connection_handling) ... ok test_server_timeout_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_server_timeout_backwards_compatibility) ... ok test_subprotocol (tests.legacy.test_client_server.ClientServerTests.test_subprotocol) ... ok test_subprotocol_error (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error) ... ok test_subprotocol_error_no_subprotocols (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error_no_subprotocols) ... ok test_subprotocol_error_two_subprotocols (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error_two_subprotocols) ... ok test_subprotocol_not_accepted (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_accepted) ... ok test_subprotocol_not_offered (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_offered) ... ok test_subprotocol_not_requested (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_requested) ... ok test_unix_socket (tests.legacy.test_client_server.ClientServerTests.test_unix_socket) ... ok test_ws_connection_http_endpoint (tests.legacy.test_client_server.ClientServerTests.test_ws_connection_http_endpoint) ... ok test_ws_connection_ws_endpoint (tests.legacy.test_client_server.ClientServerTests.test_ws_connection_ws_endpoint) ... ok test_ws_handler_argument_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_ws_handler_argument_backwards_compatibility) ... ok test_ws_handler_argument_backwards_compatibility_partial (tests.legacy.test_client_server.ClientServerTests.test_ws_handler_argument_backwards_compatibility_partial) ... ok test_client (tests.legacy.test_client_server.ContextManagerTests.test_client) ... ok test_server (tests.legacy.test_client_server.ContextManagerTests.test_server) ... ok test_unix_server (tests.legacy.test_client_server.ContextManagerTests.test_unix_server) ... ok test_logger_client (tests.legacy.test_client_server.LoggerTests.test_logger_client) ... ok test_reconnect (tests.legacy.test_client_server.ReconnectionTests.test_reconnect) ... ok test_basic (tests.legacy.test_client_server.SecureClientServerTests.test_basic) ... ok test_client_close_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_client_close_timeout) ... ok test_client_close_timeout_over_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_client_close_timeout_over_timeout) ... ok test_client_closes_connection_before_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_client_closes_connection_before_handshake) ... ok test_client_create_protocol (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol) ... ok test_client_create_protocol_function (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol_function) ... ok test_client_create_protocol_over_klass (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol_over_klass) ... ok test_client_klass (tests.legacy.test_client_server.SecureClientServerTests.test_client_klass) ... ok test_client_receives_malformed_response (tests.legacy.test_client_server.SecureClientServerTests.test_client_receives_malformed_response) ... ok test_client_sends_invalid_handshake_request (tests.legacy.test_client_server.SecureClientServerTests.test_client_sends_invalid_handshake_request) ... ok test_client_timeout_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_client_timeout_backwards_compatibility) ... ok test_compression_deflate (tests.legacy.test_client_server.SecureClientServerTests.test_compression_deflate) ... ok test_compression_unsupported_client (tests.legacy.test_client_server.SecureClientServerTests.test_compression_unsupported_client) ... ok test_compression_unsupported_server (tests.legacy.test_client_server.SecureClientServerTests.test_compression_unsupported_server) ... ok test_connection_error_during_closing_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_connection_error_during_closing_handshake) ... ok test_connection_error_during_opening_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_connection_error_during_opening_handshake) ... ok test_explicit_host_port (tests.legacy.test_client_server.SecureClientServerTests.test_explicit_host_port) ... ok test_explicit_socket (tests.legacy.test_client_server.SecureClientServerTests.test_explicit_socket) ... ok test_extension (tests.legacy.test_client_server.SecureClientServerTests.test_extension) ... ok test_extension_client_rejection (tests.legacy.test_client_server.SecureClientServerTests.test_extension_client_rejection) ... ok test_extension_mismatch (tests.legacy.test_client_server.SecureClientServerTests.test_extension_mismatch) ... ok test_extension_no_match_then_match (tests.legacy.test_client_server.SecureClientServerTests.test_extension_no_match_then_match) ... ok test_extension_not_accepted (tests.legacy.test_client_server.SecureClientServerTests.test_extension_not_accepted) ... ok test_extension_not_requested (tests.legacy.test_client_server.SecureClientServerTests.test_extension_not_requested) ... ok test_extension_order (tests.legacy.test_client_server.SecureClientServerTests.test_extension_order) ... ok test_extensions_error (tests.legacy.test_client_server.SecureClientServerTests.test_extensions_error) ... ok test_extensions_error_no_extensions (tests.legacy.test_client_server.SecureClientServerTests.test_extensions_error_no_extensions) ... ok test_http_request_custom_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_custom_server_header) ... ok test_http_request_http_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_http_endpoint) ... ok test_http_request_no_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_no_server_header) ... ok test_http_request_ws_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_ws_endpoint) ... ok test_infinite_redirect (tests.legacy.test_client_server.SecureClientServerTests.test_infinite_redirect) ... ok test_invalid_status_error_during_client_connect (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_status_error_during_client_connect) ... ok test_invalid_subprotocol_client (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_subprotocol_client) ... ok test_invalid_subprotocol_server (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_subprotocol_server) ... ok test_loop_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_loop_backwards_compatibility) ... ok test_no_extension (tests.legacy.test_client_server.SecureClientServerTests.test_no_extension) ... ok test_no_subprotocol (tests.legacy.test_client_server.SecureClientServerTests.test_no_subprotocol) ... ok test_process_request_argument (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_argument) ... ok test_process_request_argument_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_argument_backwards_compatibility) ... ok test_process_request_override (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_override) ... ok test_process_request_override_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_override_backwards_compatibility) ... ok test_process_request_returns_int_status (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_returns_int_status) ... ok test_protocol_custom_request_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_request_headers) ... ok test_protocol_custom_response_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers) ... ok test_protocol_custom_response_headers_callable (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers_callable) ... ok test_protocol_custom_response_headers_callable_none (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers_callable_none) ... ok test_protocol_custom_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_server_header) ... ok test_protocol_custom_server_header_legacy (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_server_header_legacy) ... ok test_protocol_custom_user_agent_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_user_agent_header) ... ok test_protocol_custom_user_agent_header_legacy (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_user_agent_header_legacy) ... ok test_protocol_deprecated_attributes (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_deprecated_attributes) ... ok test_protocol_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_headers) ... ok test_protocol_no_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_no_server_header) ... ok test_protocol_no_user_agent_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_no_user_agent_header) ... ok test_protocol_path (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_path) ... ok test_redirect (tests.legacy.test_client_server.SecureClientServerTests.test_redirect) ... ok test_redirect_insecure (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_insecure) ... ok test_redirect_missing_location (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_missing_location) ... ok test_redirect_relative_location (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_relative_location) ... ok test_select_subprotocol_argument (tests.legacy.test_client_server.SecureClientServerTests.test_select_subprotocol_argument) ... ok test_select_subprotocol_override (tests.legacy.test_client_server.SecureClientServerTests.test_select_subprotocol_override) ... ok test_server_close_crashes (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_crashes) ... ok test_server_close_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_timeout) ... ok test_server_close_timeout_over_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_timeout_over_timeout) ... ok test_server_create_protocol (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol) ... ok test_server_create_protocol_function (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol_function) ... ok test_server_create_protocol_over_klass (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol_over_klass) ... ok test_server_does_not_switch_protocols (tests.legacy.test_client_server.SecureClientServerTests.test_server_does_not_switch_protocols) ... ok test_server_error_in_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_server_error_in_handshake) ... ok test_server_handler_crashes (tests.legacy.test_client_server.SecureClientServerTests.test_server_handler_crashes) ... ok test_server_klass_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_server_klass_backwards_compatibility) ... ok test_server_receives_malformed_request (tests.legacy.test_client_server.SecureClientServerTests.test_server_receives_malformed_request) ... ok test_server_sends_invalid_handshake_response (tests.legacy.test_client_server.SecureClientServerTests.test_server_sends_invalid_handshake_response) ... ok test_server_shuts_down_and_waits_until_handlers_terminate (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_and_waits_until_handlers_terminate) ... ok test_server_shuts_down_during_connection_handling (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_during_connection_handling) ... ok test_server_shuts_down_during_opening_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_during_opening_handshake) ... ok test_server_shuts_down_gracefully_during_connection_handling (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_gracefully_during_connection_handling) ... ok test_server_timeout_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_server_timeout_backwards_compatibility) ... ok test_subprotocol (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol) ... ok test_subprotocol_error (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error) ... ok test_subprotocol_error_no_subprotocols (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error_no_subprotocols) ... ok test_subprotocol_error_two_subprotocols (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error_two_subprotocols) ... ok test_subprotocol_not_accepted (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_accepted) ... ok test_subprotocol_not_offered (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_offered) ... ok test_subprotocol_not_requested (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_requested) ... ok test_ws_connection_http_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_ws_connection_http_endpoint) ... ok test_ws_connection_ws_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_ws_connection_ws_endpoint) ... ok test_ws_handler_argument_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_ws_handler_argument_backwards_compatibility) ... ok test_ws_handler_argument_backwards_compatibility_partial (tests.legacy.test_client_server.SecureClientServerTests.test_ws_handler_argument_backwards_compatibility_partial) ... ok test_ws_uri_is_rejected (tests.legacy.test_client_server.SecureClientServerTests.test_ws_uri_is_rejected) ... ok test_str (tests.legacy.test_exceptions.ExceptionsTests.test_str) ... ok test_bad_opcode (tests.legacy.test_framing.FramingTests.test_bad_opcode) ... ok test_bad_reserved_bits (tests.legacy.test_framing.FramingTests.test_bad_reserved_bits) ... ok test_binary (tests.legacy.test_framing.FramingTests.test_binary) ... ok test_binary_masked (tests.legacy.test_framing.FramingTests.test_binary_masked) ... ok test_close (tests.legacy.test_framing.FramingTests.test_close) ... ok test_control_frame_max_length (tests.legacy.test_framing.FramingTests.test_control_frame_max_length) ... ok test_extensions (tests.legacy.test_framing.FramingTests.test_extensions) ... ok test_fragmented_control_frame (tests.legacy.test_framing.FramingTests.test_fragmented_control_frame) ... ok test_good_opcode (tests.legacy.test_framing.FramingTests.test_good_opcode) ... ok test_long (tests.legacy.test_framing.FramingTests.test_long) ... ok test_mask_flag (tests.legacy.test_framing.FramingTests.test_mask_flag) ... ok test_non_ascii_text (tests.legacy.test_framing.FramingTests.test_non_ascii_text) ... ok test_non_ascii_text_masked (tests.legacy.test_framing.FramingTests.test_non_ascii_text_masked) ... ok test_payload_too_big (tests.legacy.test_framing.FramingTests.test_payload_too_big) ... ok test_ping (tests.legacy.test_framing.FramingTests.test_ping) ... ok test_pong (tests.legacy.test_framing.FramingTests.test_pong) ... ok test_text (tests.legacy.test_framing.FramingTests.test_text) ... ok test_text_masked (tests.legacy.test_framing.FramingTests.test_text_masked) ... ok test_very_long (tests.legacy.test_framing.FramingTests.test_very_long) ... ok test_parse_close_and_serialize_close (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_and_serialize_close) ... ok test_parse_close_empty (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_empty) ... ok test_parse_close_errors (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_errors) ... ok test_serialize_close_errors (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_serialize_close_errors) ... ok test_prepare_ctrl_bytearray (tests.legacy.test_framing.PrepareCtrlTests.test_prepare_ctrl_bytearray) ... ok test_prepare_ctrl_bytes (tests.legacy.test_framing.PrepareCtrlTests.test_prepare_ctrl_bytes) ... ok test_prepare_ctrl_list (tests.legacy.test_framing.PrepareCtrlTests.test_prepare_ctrl_list) ... ok test_prepare_ctrl_memoryview (tests.legacy.test_framing.PrepareCtrlTests.test_prepare_ctrl_memoryview) ... ok test_prepare_ctrl_none (tests.legacy.test_framing.PrepareCtrlTests.test_prepare_ctrl_none) ... ok test_prepare_ctrl_str (tests.legacy.test_framing.PrepareCtrlTests.test_prepare_ctrl_str) ... ok test_prepare_data_bytearray (tests.legacy.test_framing.PrepareDataTests.test_prepare_data_bytearray) ... ok test_prepare_data_bytes (tests.legacy.test_framing.PrepareDataTests.test_prepare_data_bytes) ... ok test_prepare_data_list (tests.legacy.test_framing.PrepareDataTests.test_prepare_data_list) ... ok test_prepare_data_memoryview (tests.legacy.test_framing.PrepareDataTests.test_prepare_data_memoryview) ... ok test_prepare_data_none (tests.legacy.test_framing.PrepareDataTests.test_prepare_data_none) ... ok test_prepare_data_str (tests.legacy.test_framing.PrepareDataTests.test_prepare_data_str) ... ok test_request_additional_connection (tests.legacy.test_handshake.HandshakeTests.test_request_additional_connection) ... ok test_request_additional_key (tests.legacy.test_handshake.HandshakeTests.test_request_additional_key) ... ok test_request_additional_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_additional_upgrade) ... ok test_request_additional_version (tests.legacy.test_handshake.HandshakeTests.test_request_additional_version) ... ok test_request_invalid_connection (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_connection) ... ok test_request_invalid_key_not_16_bytes_long (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_16_bytes_long) ... ok test_request_invalid_key_not_base64 (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_base64) ... ok test_request_invalid_key_not_well_padded (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_well_padded) ... ok test_request_invalid_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_upgrade) ... ok test_request_invalid_version (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_version) ... ok test_request_missing_connection (tests.legacy.test_handshake.HandshakeTests.test_request_missing_connection) ... ok test_request_missing_key (tests.legacy.test_handshake.HandshakeTests.test_request_missing_key) ... ok test_request_missing_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_missing_upgrade) ... ok test_request_missing_version (tests.legacy.test_handshake.HandshakeTests.test_request_missing_version) ... ok test_response_additional_accept (tests.legacy.test_handshake.HandshakeTests.test_response_additional_accept) ... ok test_response_additional_connection (tests.legacy.test_handshake.HandshakeTests.test_response_additional_connection) ... ok test_response_additional_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_additional_upgrade) ... ok test_response_invalid_accept (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_accept) ... ok test_response_invalid_connection (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_connection) ... ok test_response_invalid_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_upgrade) ... ok test_response_missing_accept (tests.legacy.test_handshake.HandshakeTests.test_response_missing_accept) ... ok test_response_missing_connection (tests.legacy.test_handshake.HandshakeTests.test_response_missing_connection) ... ok test_response_missing_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_missing_upgrade) ... ok test_round_trip (tests.legacy.test_handshake.HandshakeTests.test_round_trip) ... ok test_header_name (tests.legacy.test_http.HTTPAsyncTests.test_header_name) ... ok test_header_value (tests.legacy.test_http.HTTPAsyncTests.test_header_value) ... ok test_headers_limit (tests.legacy.test_http.HTTPAsyncTests.test_headers_limit) ... ok test_line_ending (tests.legacy.test_http.HTTPAsyncTests.test_line_ending) ... ok test_line_limit (tests.legacy.test_http.HTTPAsyncTests.test_line_limit) ... ok test_read_request (tests.legacy.test_http.HTTPAsyncTests.test_read_request) ... ok test_read_request_empty (tests.legacy.test_http.HTTPAsyncTests.test_read_request_empty) ... ok test_read_request_invalid_header (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_header) ... ok test_read_request_invalid_request_line (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_request_line) ... ok test_read_request_invalid_status_line (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_status_line) ... ok test_read_request_unsupported_method (tests.legacy.test_http.HTTPAsyncTests.test_read_request_unsupported_method) ... ok test_read_request_unsupported_version (tests.legacy.test_http.HTTPAsyncTests.test_read_request_unsupported_version) ... ok test_read_response (tests.legacy.test_http.HTTPAsyncTests.test_read_response) ... ok test_read_response_empty (tests.legacy.test_http.HTTPAsyncTests.test_read_response_empty) ... ok test_read_response_invalid_header (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_header) ... ok test_read_response_invalid_reason (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_reason) ... ok test_read_response_invalid_status (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_status) ... ok test_read_response_unsupported_status (tests.legacy.test_http.HTTPAsyncTests.test_read_response_unsupported_status) ... ok test_read_response_unsupported_version (tests.legacy.test_http.HTTPAsyncTests.test_read_response_unsupported_version) ... ok test_abort_ping (tests.legacy.test_protocol.ClientTests.test_abort_ping) ... ok test_abort_ping_does_not_log_exception_if_not_retreived (tests.legacy.test_protocol.ClientTests.test_abort_ping_does_not_log_exception_if_not_retreived) ... ok test_acknowledge_aborted_ping (tests.legacy.test_protocol.ClientTests.test_acknowledge_aborted_ping) ... ok test_acknowledge_ping (tests.legacy.test_protocol.ClientTests.test_acknowledge_ping) ... ok test_acknowledge_previous_pings (tests.legacy.test_protocol.ClientTests.test_acknowledge_previous_pings) ... ok test_answer_ping (tests.legacy.test_protocol.ClientTests.test_answer_ping) ... ok test_answer_ping_does_not_crash_if_connection_closed (tests.legacy.test_protocol.ClientTests.test_answer_ping_does_not_crash_if_connection_closed) ... ok test_answer_ping_does_not_crash_if_connection_closing (tests.legacy.test_protocol.ClientTests.test_answer_ping_does_not_crash_if_connection_closing) ... ok test_broadcast_binary (tests.legacy.test_protocol.ClientTests.test_broadcast_binary) ... ok test_broadcast_binary_reports_no_errors (tests.legacy.test_protocol.ClientTests.test_broadcast_binary_reports_no_errors) ... ok test_broadcast_no_clients (tests.legacy.test_protocol.ClientTests.test_broadcast_no_clients) ... ok test_broadcast_reports_connection_failing_to_send (tests.legacy.test_protocol.ClientTests.test_broadcast_reports_connection_failing_to_send) ... ok test_broadcast_reports_connection_sending_fragmented_text (tests.legacy.test_protocol.ClientTests.test_broadcast_reports_connection_sending_fragmented_text) ... ok test_broadcast_skips_closed_connection (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_closed_connection) ... ok test_broadcast_skips_closing_connection (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_closing_connection) ... ok test_broadcast_skips_connection_failing_to_send (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_connection_failing_to_send) ... ok test_broadcast_skips_connection_sending_fragmented_text (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_connection_sending_fragmented_text) ... ok test_broadcast_text (tests.legacy.test_protocol.ClientTests.test_broadcast_text) ... ok test_broadcast_text_reports_no_errors (tests.legacy.test_protocol.ClientTests.test_broadcast_text_reports_no_errors) ... ok test_broadcast_two_clients (tests.legacy.test_protocol.ClientTests.test_broadcast_two_clients) ... ok test_broadcast_type_error (tests.legacy.test_protocol.ClientTests.test_broadcast_type_error) ... ok test_canceled_ping (tests.legacy.test_protocol.ClientTests.test_canceled_ping) ... ok test_close_code (tests.legacy.test_protocol.ClientTests.test_close_code) ... ok test_close_code_not_set (tests.legacy.test_protocol.ClientTests.test_close_code_not_set) ... ok test_close_connection_lost (tests.legacy.test_protocol.ClientTests.test_close_connection_lost) ... ok test_close_handshake_in_fragmented_text (tests.legacy.test_protocol.ClientTests.test_close_handshake_in_fragmented_text) ... ok test_close_preserves_incoming_frames (tests.legacy.test_protocol.ClientTests.test_close_preserves_incoming_frames) ... ok test_close_protocol_error (tests.legacy.test_protocol.ClientTests.test_close_protocol_error) ... ok test_close_reason (tests.legacy.test_protocol.ClientTests.test_close_reason) ... ok test_close_reason_not_set (tests.legacy.test_protocol.ClientTests.test_close_reason_not_set) ... ok test_closed (tests.legacy.test_protocol.ClientTests.test_closed) ... ok test_connection_close_in_fragmented_text (tests.legacy.test_protocol.ClientTests.test_connection_close_in_fragmented_text) ... ok test_connection_lost (tests.legacy.test_protocol.ClientTests.test_connection_lost) ... ok test_control_frame_within_fragmented_text (tests.legacy.test_protocol.ClientTests.test_control_frame_within_fragmented_text) ... ok test_duplicate_ping (tests.legacy.test_protocol.ClientTests.test_duplicate_ping) ... ok test_ensure_open_before_opening_handshake (tests.legacy.test_protocol.ClientTests.test_ensure_open_before_opening_handshake) ... ok test_ensure_open_during_unclean_close (tests.legacy.test_protocol.ClientTests.test_ensure_open_during_unclean_close) ... ok test_fragmented_binary (tests.legacy.test_protocol.ClientTests.test_fragmented_binary) ... ok test_fragmented_binary_no_max_size (tests.legacy.test_protocol.ClientTests.test_fragmented_binary_no_max_size) ... ok test_fragmented_binary_payload_too_big (tests.legacy.test_protocol.ClientTests.test_fragmented_binary_payload_too_big) ... ok test_fragmented_text (tests.legacy.test_protocol.ClientTests.test_fragmented_text) ... ok test_fragmented_text_no_max_size (tests.legacy.test_protocol.ClientTests.test_fragmented_text_no_max_size) ... ok test_fragmented_text_payload_too_big (tests.legacy.test_protocol.ClientTests.test_fragmented_text_payload_too_big) ... ok test_ignore_pong (tests.legacy.test_protocol.ClientTests.test_ignore_pong) ... ok test_keepalive_ping (tests.legacy.test_protocol.ClientTests.test_keepalive_ping) ... ok test_keepalive_ping_does_not_crash_when_connection_lost (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_does_not_crash_when_connection_lost) ... ok test_keepalive_ping_not_acknowledged_closes_connection (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_not_acknowledged_closes_connection) ... ok test_keepalive_ping_stops_when_connection_closed (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_stops_when_connection_closed) ... ok test_keepalive_ping_stops_when_connection_closing (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_stops_when_connection_closing) ... ok test_keepalive_ping_unexpected_error (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_unexpected_error) ... ok test_keepalive_ping_with_no_ping_interval (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_with_no_ping_interval) ... ok test_keepalive_ping_with_no_ping_timeout (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_with_no_ping_timeout) ... ok test_legacy_recv (tests.legacy.test_protocol.ClientTests.test_legacy_recv) ... ok test_local_address (tests.legacy.test_protocol.ClientTests.test_local_address) ... ok test_local_address_before_connection (tests.legacy.test_protocol.ClientTests.test_local_address_before_connection) ... ok test_local_close (tests.legacy.test_protocol.ClientTests.test_local_close) ... ok test_local_close_connection_lost_timeout_after_close (tests.legacy.test_protocol.ClientTests.test_local_close_connection_lost_timeout_after_close) ... ok test_local_close_connection_lost_timeout_after_write_eof (tests.legacy.test_protocol.ClientTests.test_local_close_connection_lost_timeout_after_write_eof) ... ok test_local_close_during_recv (tests.legacy.test_protocol.ClientTests.test_local_close_during_recv) ... ok test_local_close_receive_close_frame_timeout (tests.legacy.test_protocol.ClientTests.test_local_close_receive_close_frame_timeout) ... ok test_local_close_send_close_frame_timeout (tests.legacy.test_protocol.ClientTests.test_local_close_send_close_frame_timeout) ... ok test_loop_backwards_compatibility (tests.legacy.test_protocol.ClientTests.test_loop_backwards_compatibility) ... ok test_open (tests.legacy.test_protocol.ClientTests.test_open) ... ok test_ping_binary (tests.legacy.test_protocol.ClientTests.test_ping_binary) ... ok test_ping_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_ping_binary_from_bytearray) ... ok test_ping_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_ping_binary_from_memoryview) ... ok test_ping_default (tests.legacy.test_protocol.ClientTests.test_ping_default) ... ok test_ping_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_ping_on_closed_connection) ... ok test_ping_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_ping_on_closing_connection_local) ... ok test_ping_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_ping_on_closing_connection_remote) ... ok test_ping_text (tests.legacy.test_protocol.ClientTests.test_ping_text) ... ok test_ping_type_error (tests.legacy.test_protocol.ClientTests.test_ping_type_error) ... ok test_pong_binary (tests.legacy.test_protocol.ClientTests.test_pong_binary) ... ok test_pong_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_pong_binary_from_bytearray) ... ok test_pong_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_pong_binary_from_memoryview) ... ok test_pong_default (tests.legacy.test_protocol.ClientTests.test_pong_default) ... ok test_pong_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_pong_on_closed_connection) ... ok test_pong_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_pong_on_closing_connection_local) ... ok test_pong_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_pong_on_closing_connection_remote) ... ok test_pong_text (tests.legacy.test_protocol.ClientTests.test_pong_text) ... ok test_pong_type_error (tests.legacy.test_protocol.ClientTests.test_pong_type_error) ... ok test_record_latency_on_pong (tests.legacy.test_protocol.ClientTests.test_record_latency_on_pong) ... ok test_recv_binary (tests.legacy.test_protocol.ClientTests.test_recv_binary) ... ok test_recv_binary_no_max_size (tests.legacy.test_protocol.ClientTests.test_recv_binary_no_max_size) ... ok test_recv_binary_payload_too_big (tests.legacy.test_protocol.ClientTests.test_recv_binary_payload_too_big) ... ok test_recv_canceled (tests.legacy.test_protocol.ClientTests.test_recv_canceled) ... ok test_recv_canceled_race_condition (tests.legacy.test_protocol.ClientTests.test_recv_canceled_race_condition) ... ok test_recv_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_recv_on_closed_connection) ... ok test_recv_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_recv_on_closing_connection_local) ... ok test_recv_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_recv_on_closing_connection_remote) ... ok test_recv_other_error (tests.legacy.test_protocol.ClientTests.test_recv_other_error) ... ok test_recv_prevents_concurrent_calls (tests.legacy.test_protocol.ClientTests.test_recv_prevents_concurrent_calls) ... ok test_recv_protocol_error (tests.legacy.test_protocol.ClientTests.test_recv_protocol_error) ... ok test_recv_queue_empty (tests.legacy.test_protocol.ClientTests.test_recv_queue_empty) ... ok test_recv_queue_full (tests.legacy.test_protocol.ClientTests.test_recv_queue_full) ... ok test_recv_queue_no_limit (tests.legacy.test_protocol.ClientTests.test_recv_queue_no_limit) ... ok test_recv_text (tests.legacy.test_protocol.ClientTests.test_recv_text) ... ok test_recv_text_no_max_size (tests.legacy.test_protocol.ClientTests.test_recv_text_no_max_size) ... ok test_recv_text_payload_too_big (tests.legacy.test_protocol.ClientTests.test_recv_text_payload_too_big) ... ok test_recv_unicode_error (tests.legacy.test_protocol.ClientTests.test_recv_unicode_error) ... ok test_recv_when_transfer_data_cancelled (tests.legacy.test_protocol.ClientTests.test_recv_when_transfer_data_cancelled) ... ok test_remote_address (tests.legacy.test_protocol.ClientTests.test_remote_address) ... ok test_remote_address_before_connection (tests.legacy.test_protocol.ClientTests.test_remote_address_before_connection) ... ok test_remote_close (tests.legacy.test_protocol.ClientTests.test_remote_close) ... ok test_remote_close_and_connection_lost (tests.legacy.test_protocol.ClientTests.test_remote_close_and_connection_lost) ... ok test_remote_close_during_send (tests.legacy.test_protocol.ClientTests.test_remote_close_during_send) ... ok test_return_latency_on_pong (tests.legacy.test_protocol.ClientTests.test_return_latency_on_pong) ... ok test_send_async_iterable_binary (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary) ... ok test_send_async_iterable_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary_from_bytearray) ... ok test_send_async_iterable_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary_from_memoryview) ... ok test_send_async_iterable_mixed_type_error (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_mixed_type_error) ... ok test_send_async_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_prevents_concurrent_send) ... ok test_send_async_iterable_text (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_text) ... ok test_send_async_iterable_type_error (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_type_error) ... ok test_send_binary (tests.legacy.test_protocol.ClientTests.test_send_binary) ... ok test_send_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_binary_from_bytearray) ... ok test_send_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_binary_from_memoryview) ... ok test_send_dict (tests.legacy.test_protocol.ClientTests.test_send_dict) ... ok test_send_empty_async_iterable (tests.legacy.test_protocol.ClientTests.test_send_empty_async_iterable) ... ok test_send_empty_iterable (tests.legacy.test_protocol.ClientTests.test_send_empty_iterable) ... ok test_send_iterable_binary (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary) ... ok test_send_iterable_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary_from_bytearray) ... ok test_send_iterable_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary_from_memoryview) ... ok test_send_iterable_mixed_type_error (tests.legacy.test_protocol.ClientTests.test_send_iterable_mixed_type_error) ... ok test_send_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ClientTests.test_send_iterable_prevents_concurrent_send) ... ok test_send_iterable_text (tests.legacy.test_protocol.ClientTests.test_send_iterable_text) ... ok test_send_iterable_type_error (tests.legacy.test_protocol.ClientTests.test_send_iterable_type_error) ... ok test_send_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_send_on_closed_connection) ... ok test_send_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_send_on_closing_connection_local) ... ok test_send_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_send_on_closing_connection_remote) ... ok test_send_text (tests.legacy.test_protocol.ClientTests.test_send_text) ... ok test_send_type_error (tests.legacy.test_protocol.ClientTests.test_send_type_error) ... ok test_simultaneous_close (tests.legacy.test_protocol.ClientTests.test_simultaneous_close) ... ok test_timeout_backwards_compatibility (tests.legacy.test_protocol.ClientTests.test_timeout_backwards_compatibility) ... ok test_unterminated_fragmented_text (tests.legacy.test_protocol.ClientTests.test_unterminated_fragmented_text) ... ok test_wait_closed (tests.legacy.test_protocol.ClientTests.test_wait_closed) ... ok test_abort_ping (tests.legacy.test_protocol.ServerTests.test_abort_ping) ... ok test_abort_ping_does_not_log_exception_if_not_retreived (tests.legacy.test_protocol.ServerTests.test_abort_ping_does_not_log_exception_if_not_retreived) ... ok test_acknowledge_aborted_ping (tests.legacy.test_protocol.ServerTests.test_acknowledge_aborted_ping) ... ok test_acknowledge_ping (tests.legacy.test_protocol.ServerTests.test_acknowledge_ping) ... ok test_acknowledge_previous_pings (tests.legacy.test_protocol.ServerTests.test_acknowledge_previous_pings) ... ok test_answer_ping (tests.legacy.test_protocol.ServerTests.test_answer_ping) ... ok test_answer_ping_does_not_crash_if_connection_closed (tests.legacy.test_protocol.ServerTests.test_answer_ping_does_not_crash_if_connection_closed) ... ok test_answer_ping_does_not_crash_if_connection_closing (tests.legacy.test_protocol.ServerTests.test_answer_ping_does_not_crash_if_connection_closing) ... ok test_broadcast_binary (tests.legacy.test_protocol.ServerTests.test_broadcast_binary) ... ok test_broadcast_binary_reports_no_errors (tests.legacy.test_protocol.ServerTests.test_broadcast_binary_reports_no_errors) ... ok test_broadcast_no_clients (tests.legacy.test_protocol.ServerTests.test_broadcast_no_clients) ... ok test_broadcast_reports_connection_failing_to_send (tests.legacy.test_protocol.ServerTests.test_broadcast_reports_connection_failing_to_send) ... ok test_broadcast_reports_connection_sending_fragmented_text (tests.legacy.test_protocol.ServerTests.test_broadcast_reports_connection_sending_fragmented_text) ... ok test_broadcast_skips_closed_connection (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_closed_connection) ... ok test_broadcast_skips_closing_connection (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_closing_connection) ... ok test_broadcast_skips_connection_failing_to_send (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_connection_failing_to_send) ... ok test_broadcast_skips_connection_sending_fragmented_text (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_connection_sending_fragmented_text) ... ok test_broadcast_text (tests.legacy.test_protocol.ServerTests.test_broadcast_text) ... ok test_broadcast_text_reports_no_errors (tests.legacy.test_protocol.ServerTests.test_broadcast_text_reports_no_errors) ... ok test_broadcast_two_clients (tests.legacy.test_protocol.ServerTests.test_broadcast_two_clients) ... ok test_broadcast_type_error (tests.legacy.test_protocol.ServerTests.test_broadcast_type_error) ... ok test_canceled_ping (tests.legacy.test_protocol.ServerTests.test_canceled_ping) ... ok test_close_code (tests.legacy.test_protocol.ServerTests.test_close_code) ... ok test_close_code_not_set (tests.legacy.test_protocol.ServerTests.test_close_code_not_set) ... ok test_close_connection_lost (tests.legacy.test_protocol.ServerTests.test_close_connection_lost) ... ok test_close_handshake_in_fragmented_text (tests.legacy.test_protocol.ServerTests.test_close_handshake_in_fragmented_text) ... ok test_close_preserves_incoming_frames (tests.legacy.test_protocol.ServerTests.test_close_preserves_incoming_frames) ... ok test_close_protocol_error (tests.legacy.test_protocol.ServerTests.test_close_protocol_error) ... ok test_close_reason (tests.legacy.test_protocol.ServerTests.test_close_reason) ... ok test_close_reason_not_set (tests.legacy.test_protocol.ServerTests.test_close_reason_not_set) ... ok test_closed (tests.legacy.test_protocol.ServerTests.test_closed) ... ok test_connection_close_in_fragmented_text (tests.legacy.test_protocol.ServerTests.test_connection_close_in_fragmented_text) ... ok test_connection_lost (tests.legacy.test_protocol.ServerTests.test_connection_lost) ... ok test_control_frame_within_fragmented_text (tests.legacy.test_protocol.ServerTests.test_control_frame_within_fragmented_text) ... ok test_duplicate_ping (tests.legacy.test_protocol.ServerTests.test_duplicate_ping) ... ok test_ensure_open_before_opening_handshake (tests.legacy.test_protocol.ServerTests.test_ensure_open_before_opening_handshake) ... ok test_ensure_open_during_unclean_close (tests.legacy.test_protocol.ServerTests.test_ensure_open_during_unclean_close) ... ok test_fragmented_binary (tests.legacy.test_protocol.ServerTests.test_fragmented_binary) ... ok test_fragmented_binary_no_max_size (tests.legacy.test_protocol.ServerTests.test_fragmented_binary_no_max_size) ... ok test_fragmented_binary_payload_too_big (tests.legacy.test_protocol.ServerTests.test_fragmented_binary_payload_too_big) ... ok test_fragmented_text (tests.legacy.test_protocol.ServerTests.test_fragmented_text) ... ok test_fragmented_text_no_max_size (tests.legacy.test_protocol.ServerTests.test_fragmented_text_no_max_size) ... ok test_fragmented_text_payload_too_big (tests.legacy.test_protocol.ServerTests.test_fragmented_text_payload_too_big) ... ok test_ignore_pong (tests.legacy.test_protocol.ServerTests.test_ignore_pong) ... ok test_keepalive_ping (tests.legacy.test_protocol.ServerTests.test_keepalive_ping) ... ok test_keepalive_ping_does_not_crash_when_connection_lost (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_does_not_crash_when_connection_lost) ... ok test_keepalive_ping_not_acknowledged_closes_connection (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_not_acknowledged_closes_connection) ... ok test_keepalive_ping_stops_when_connection_closed (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_stops_when_connection_closed) ... ok test_keepalive_ping_stops_when_connection_closing (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_stops_when_connection_closing) ... ok test_keepalive_ping_unexpected_error (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_unexpected_error) ... ok test_keepalive_ping_with_no_ping_interval (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_with_no_ping_interval) ... ok test_keepalive_ping_with_no_ping_timeout (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_with_no_ping_timeout) ... ok test_legacy_recv (tests.legacy.test_protocol.ServerTests.test_legacy_recv) ... ok test_local_address (tests.legacy.test_protocol.ServerTests.test_local_address) ... ok test_local_address_before_connection (tests.legacy.test_protocol.ServerTests.test_local_address_before_connection) ... ok test_local_close (tests.legacy.test_protocol.ServerTests.test_local_close) ... ok test_local_close_connection_lost_timeout_after_close (tests.legacy.test_protocol.ServerTests.test_local_close_connection_lost_timeout_after_close) ... ok test_local_close_connection_lost_timeout_after_write_eof (tests.legacy.test_protocol.ServerTests.test_local_close_connection_lost_timeout_after_write_eof) ... ok test_local_close_during_recv (tests.legacy.test_protocol.ServerTests.test_local_close_during_recv) ... ok test_local_close_receive_close_frame_timeout (tests.legacy.test_protocol.ServerTests.test_local_close_receive_close_frame_timeout) ... ok test_local_close_send_close_frame_timeout (tests.legacy.test_protocol.ServerTests.test_local_close_send_close_frame_timeout) ... ok test_loop_backwards_compatibility (tests.legacy.test_protocol.ServerTests.test_loop_backwards_compatibility) ... ok test_open (tests.legacy.test_protocol.ServerTests.test_open) ... ok test_ping_binary (tests.legacy.test_protocol.ServerTests.test_ping_binary) ... ok test_ping_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_ping_binary_from_bytearray) ... ok test_ping_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_ping_binary_from_memoryview) ... ok test_ping_default (tests.legacy.test_protocol.ServerTests.test_ping_default) ... ok test_ping_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_ping_on_closed_connection) ... ok test_ping_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_ping_on_closing_connection_local) ... ok test_ping_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_ping_on_closing_connection_remote) ... ok test_ping_text (tests.legacy.test_protocol.ServerTests.test_ping_text) ... ok test_ping_type_error (tests.legacy.test_protocol.ServerTests.test_ping_type_error) ... ok test_pong_binary (tests.legacy.test_protocol.ServerTests.test_pong_binary) ... ok test_pong_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_pong_binary_from_bytearray) ... ok test_pong_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_pong_binary_from_memoryview) ... ok test_pong_default (tests.legacy.test_protocol.ServerTests.test_pong_default) ... ok test_pong_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_pong_on_closed_connection) ... ok test_pong_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_pong_on_closing_connection_local) ... ok test_pong_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_pong_on_closing_connection_remote) ... ok test_pong_text (tests.legacy.test_protocol.ServerTests.test_pong_text) ... ok test_pong_type_error (tests.legacy.test_protocol.ServerTests.test_pong_type_error) ... ok test_record_latency_on_pong (tests.legacy.test_protocol.ServerTests.test_record_latency_on_pong) ... ok test_recv_binary (tests.legacy.test_protocol.ServerTests.test_recv_binary) ... ok test_recv_binary_no_max_size (tests.legacy.test_protocol.ServerTests.test_recv_binary_no_max_size) ... ok test_recv_binary_payload_too_big (tests.legacy.test_protocol.ServerTests.test_recv_binary_payload_too_big) ... ok test_recv_canceled (tests.legacy.test_protocol.ServerTests.test_recv_canceled) ... ok test_recv_canceled_race_condition (tests.legacy.test_protocol.ServerTests.test_recv_canceled_race_condition) ... ok test_recv_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_recv_on_closed_connection) ... ok test_recv_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_recv_on_closing_connection_local) ... ok test_recv_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_recv_on_closing_connection_remote) ... ok test_recv_other_error (tests.legacy.test_protocol.ServerTests.test_recv_other_error) ... ok test_recv_prevents_concurrent_calls (tests.legacy.test_protocol.ServerTests.test_recv_prevents_concurrent_calls) ... ok test_recv_protocol_error (tests.legacy.test_protocol.ServerTests.test_recv_protocol_error) ... ok test_recv_queue_empty (tests.legacy.test_protocol.ServerTests.test_recv_queue_empty) ... ok test_recv_queue_full (tests.legacy.test_protocol.ServerTests.test_recv_queue_full) ... ok test_recv_queue_no_limit (tests.legacy.test_protocol.ServerTests.test_recv_queue_no_limit) ... ok test_recv_text (tests.legacy.test_protocol.ServerTests.test_recv_text) ... ok test_recv_text_no_max_size (tests.legacy.test_protocol.ServerTests.test_recv_text_no_max_size) ... ok test_recv_text_payload_too_big (tests.legacy.test_protocol.ServerTests.test_recv_text_payload_too_big) ... ok test_recv_unicode_error (tests.legacy.test_protocol.ServerTests.test_recv_unicode_error) ... ok test_recv_when_transfer_data_cancelled (tests.legacy.test_protocol.ServerTests.test_recv_when_transfer_data_cancelled) ... ok test_remote_address (tests.legacy.test_protocol.ServerTests.test_remote_address) ... ok test_remote_address_before_connection (tests.legacy.test_protocol.ServerTests.test_remote_address_before_connection) ... ok test_remote_close (tests.legacy.test_protocol.ServerTests.test_remote_close) ... ok test_remote_close_and_connection_lost (tests.legacy.test_protocol.ServerTests.test_remote_close_and_connection_lost) ... ok test_remote_close_during_send (tests.legacy.test_protocol.ServerTests.test_remote_close_during_send) ... ok test_return_latency_on_pong (tests.legacy.test_protocol.ServerTests.test_return_latency_on_pong) ... ok test_send_async_iterable_binary (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary) ... ok test_send_async_iterable_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary_from_bytearray) ... ok test_send_async_iterable_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary_from_memoryview) ... ok test_send_async_iterable_mixed_type_error (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_mixed_type_error) ... ok test_send_async_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_prevents_concurrent_send) ... ok test_send_async_iterable_text (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_text) ... ok test_send_async_iterable_type_error (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_type_error) ... ok test_send_binary (tests.legacy.test_protocol.ServerTests.test_send_binary) ... ok test_send_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_binary_from_bytearray) ... ok test_send_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_binary_from_memoryview) ... ok test_send_dict (tests.legacy.test_protocol.ServerTests.test_send_dict) ... ok test_send_empty_async_iterable (tests.legacy.test_protocol.ServerTests.test_send_empty_async_iterable) ... ok test_send_empty_iterable (tests.legacy.test_protocol.ServerTests.test_send_empty_iterable) ... ok test_send_iterable_binary (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary) ... ok test_send_iterable_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary_from_bytearray) ... ok test_send_iterable_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary_from_memoryview) ... ok test_send_iterable_mixed_type_error (tests.legacy.test_protocol.ServerTests.test_send_iterable_mixed_type_error) ... ok test_send_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ServerTests.test_send_iterable_prevents_concurrent_send) ... ok test_send_iterable_text (tests.legacy.test_protocol.ServerTests.test_send_iterable_text) ... ok test_send_iterable_type_error (tests.legacy.test_protocol.ServerTests.test_send_iterable_type_error) ... ok test_send_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_send_on_closed_connection) ... ok test_send_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_send_on_closing_connection_local) ... ok test_send_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_send_on_closing_connection_remote) ... ok test_send_text (tests.legacy.test_protocol.ServerTests.test_send_text) ... ok test_send_type_error (tests.legacy.test_protocol.ServerTests.test_send_type_error) ... ok test_simultaneous_close (tests.legacy.test_protocol.ServerTests.test_simultaneous_close) ... ok test_timeout_backwards_compatibility (tests.legacy.test_protocol.ServerTests.test_timeout_backwards_compatibility) ... ok test_unterminated_fragmented_text (tests.legacy.test_protocol.ServerTests.test_unterminated_fragmented_text) ... ok test_wait_closed (tests.legacy.test_protocol.ServerTests.test_wait_closed) ... ok test_direct_connection_without_legacy_flag (tests.sync.test_client.BackwardsCompatibilityTests.test_direct_connection_without_legacy_flag) Client connects to server directly without legacy=True. ... ok test_direct_unix_connection_without_legacy_flag (tests.sync.test_client.BackwardsCompatibilityTests.test_direct_unix_connection_without_legacy_flag) Client connects to Unix server directly without legacy=True. ... ok test_set_legacy_flag_explicitly (tests.sync.test_client.BackwardsCompatibilityTests.test_set_legacy_flag_explicitly) Client connects to server with legacy=True. ... ok test_ssl_context_argument (tests.sync.test_client.BackwardsCompatibilityTests.test_ssl_context_argument) Client supports the deprecated ssl_context argument. ... ok test_unix_set_legacy_flag_explicitly (tests.sync.test_client.BackwardsCompatibilityTests.test_unix_set_legacy_flag_explicitly) Client connects to server with legacy=True. ... ok test_unix_unset_legacy_flag_explicitly (tests.sync.test_client.BackwardsCompatibilityTests.test_unix_unset_legacy_flag_explicitly) Client connects to server with legacy=False. ... ok test_unset_legacy_flag_explicitly (tests.sync.test_client.BackwardsCompatibilityTests.test_unset_legacy_flag_explicitly) Client connects to server with legacy=False. ... ok test_additional_headers (tests.sync.test_client.ClientTests.test_additional_headers) Client can set additional headers with additional_headers. ... ok test_compression_is_enabled (tests.sync.test_client.ClientTests.test_compression_is_enabled) Client enables compression by default. ... ok test_connection_closed_during_handshake (tests.sync.test_client.ClientTests.test_connection_closed_during_handshake) Client reads EOF before receiving handshake response from server. ... ok test_context_manager (tests.sync.test_client.ClientTests.test_context_manager) Client connects to server and disconnects automatically. ... ok test_cross_origin_redirect (tests.sync.test_client.ClientTests.test_cross_origin_redirect) Client follows redirect to a secure URI on a different origin. ... ok test_cross_origin_redirect_strips_credentials (tests.sync.test_client.ClientTests.test_cross_origin_redirect_strips_credentials) Client strips credentials when following a cross-origin redirect. ... ok test_cross_origin_redirect_with_explicit_host_port (tests.sync.test_client.ClientTests.test_cross_origin_redirect_with_explicit_host_port) Client doesn't follow cross-origin redirect with an explicit host / port. ... ok test_custom_connection_factory (tests.sync.test_client.ClientTests.test_custom_connection_factory) Client runs ClientConnection factory provided in create_connection. ... ok test_direct_connection (tests.sync.test_client.ClientTests.test_direct_connection) Client connects to server directly. ... ok test_disable_compression (tests.sync.test_client.ClientTests.test_disable_compression) Client disables compression. ... ok test_disable_keepalive (tests.sync.test_client.ClientTests.test_disable_keepalive) Client disables keepalive. ... ok test_existing_socket (tests.sync.test_client.ClientTests.test_existing_socket) Client connects using a pre-existing socket. ... ok test_explicit_host_port (tests.sync.test_client.ClientTests.test_explicit_host_port) Client connects using an explicit host / port. ... ok test_handshake_fails (tests.sync.test_client.ClientTests.test_handshake_fails) Client connects to server but the handshake fails. ... ok test_http_response (tests.sync.test_client.ClientTests.test_http_response) Client reads HTTP response. ... ok test_http_response_with_keep_alive (tests.sync.test_client.ClientTests.test_http_response_with_keep_alive) Client reads HTTP response and server keeps connection alive. ... ok test_http_response_without_content_length (tests.sync.test_client.ClientTests.test_http_response_without_content_length) Client reads HTTP response without a Content-Length header. ... ok test_invalid_uri (tests.sync.test_client.ClientTests.test_invalid_uri) Client receives an invalid URI. ... ok test_junk_handshake_response (tests.sync.test_client.ClientTests.test_junk_handshake_response) Client closes the connection when receiving non-HTTP response from server. ... ok test_keepalive_is_enabled (tests.sync.test_client.ClientTests.test_keepalive_is_enabled) Client enables keepalive and measures latency by default. ... ok test_legacy_user_agent_header (tests.sync.test_client.ClientTests.test_legacy_user_agent_header) Client can override User-Agent header with additional_headers. ... ok test_logger (tests.sync.test_client.ClientTests.test_logger) Client accepts a logger argument. ... ok test_override_user_agent_header (tests.sync.test_client.ClientTests.test_override_user_agent_header) Client can override User-Agent header with user_agent_header. ... ok test_reconnect (tests.sync.test_client.ClientTests.test_reconnect) Client reconnects to server. ... ok test_reconnect_with_custom_process_exception (tests.sync.test_client.ClientTests.test_reconnect_with_custom_process_exception) Client runs process_exception to tell if errors are retryable or fatal. ... ok test_reconnect_with_custom_process_exception_raising_exception (tests.sync.test_client.ClientTests.test_reconnect_with_custom_process_exception_raising_exception) Client supports raising an exception in process_exception. ... ok test_redirect (tests.sync.test_client.ClientTests.test_redirect) Client follows redirect. ... ok test_redirect_limit (tests.sync.test_client.ClientTests.test_redirect_limit) Client stops following redirects after limit is reached. ... ok test_redirect_with_existing_socket (tests.sync.test_client.ClientTests.test_redirect_with_existing_socket) Client doesn't follow redirect when using a pre-existing socket. ... ok test_redirect_with_explicit_host_port (tests.sync.test_client.ClientTests.test_redirect_with_explicit_host_port) Client follows redirect with an explicit host / port. ... ok test_remove_user_agent_header (tests.sync.test_client.ClientTests.test_remove_user_agent_header) Client can remove User-Agent header with user_agent_header. ... ok test_same_origin_redirect_preserves_credentials (tests.sync.test_client.ClientTests.test_same_origin_redirect_preserves_credentials) Client preserves credentials when following a same-origin redirect. ... ok test_tcp_connection_fails (tests.sync.test_client.ClientTests.test_tcp_connection_fails) Client fails to connect to server. ... ok test_timeout_during_handshake (tests.sync.test_client.ClientTests.test_timeout_during_handshake) Client times out before receiving handshake response from server. ... ok test_invalid_subprotocol (tests.sync.test_client.ClientUsageErrorsTests.test_invalid_subprotocol) Client rejects single value of subprotocols. ... ok test_proxy_ssl_without_https_proxy (tests.sync.test_client.ClientUsageErrorsTests.test_proxy_ssl_without_https_proxy) Client rejects proxy_ssl when proxy isn't HTTPS. ... ok test_reentrancy (tests.sync.test_client.ClientUsageErrorsTests.test_reentrancy) Client isn't reentrant. ... ok test_ssl_without_secure_uri (tests.sync.test_client.ClientUsageErrorsTests.test_ssl_without_secure_uri) Client rejects ssl when URI isn't secure. ... ok test_unix_with_path_and_sock (tests.sync.test_client.ClientUsageErrorsTests.test_unix_with_path_and_sock) Unix client rejects path when sock is provided. ... ok test_unix_without_path_or_sock (tests.sync.test_client.ClientUsageErrorsTests.test_unix_without_path_or_sock) Unix client requires path when sock isn't provided. ... ok test_unsupported_compression (tests.sync.test_client.ClientUsageErrorsTests.test_unsupported_compression) Client rejects incorrect value of compression. ... ok test_unsupported_proxy (tests.sync.test_client.ClientUsageErrorsTests.test_unsupported_proxy) Client rejects unsupported proxy. ... ok test_authenticated_http_proxy (tests.sync.test_client.HTTPProxyClientTests.test_authenticated_http_proxy) Client connects to server through an authenticated HTTP proxy. ... skipped 'mitmproxy not installed' test_authenticated_http_proxy_error (tests.sync.test_client.HTTPProxyClientTests.test_authenticated_http_proxy_error) Client fails to authenticate to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy (tests.sync.test_client.HTTPProxyClientTests.test_http_proxy) Client connects to server through an HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_error (tests.sync.test_client.HTTPProxyClientTests.test_http_proxy_connection_error) Client receives no response when connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_failure (tests.sync.test_client.HTTPProxyClientTests.test_http_proxy_connection_failure) Client fails to connect to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_timeout (tests.sync.test_client.HTTPProxyClientTests.test_http_proxy_connection_timeout) Client times out while connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_override_user_agent (tests.sync.test_client.HTTPProxyClientTests.test_http_proxy_override_user_agent) Client can override User-Agent header with user_agent_header. ... skipped 'mitmproxy not installed' test_http_proxy_protocol_error (tests.sync.test_client.HTTPProxyClientTests.test_http_proxy_protocol_error) Client receives invalid data when connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_remove_user_agent (tests.sync.test_client.HTTPProxyClientTests.test_http_proxy_remove_user_agent) Client can remove User-Agent header with user_agent_header. ... skipped 'mitmproxy not installed' test_https_proxy (tests.sync.test_client.HTTPProxyClientTests.test_https_proxy) Client connects to server through an HTTPS proxy. ... skipped 'mitmproxy not installed' test_https_proxy_invalid_proxy_certificate (tests.sync.test_client.HTTPProxyClientTests.test_https_proxy_invalid_proxy_certificate) Client rejects certificate when proxy certificate isn't trusted. ... skipped 'mitmproxy not installed' test_https_proxy_invalid_server_certificate (tests.sync.test_client.HTTPProxyClientTests.test_https_proxy_invalid_server_certificate) Client rejects certificate when server certificate isn't trusted. ... skipped 'mitmproxy not installed' test_https_proxy_server_hostname (tests.sync.test_client.HTTPProxyClientTests.test_https_proxy_server_hostname) Client sets server_hostname to the value of proxy_server_hostname. ... skipped 'mitmproxy not installed' test_secure_http_proxy (tests.sync.test_client.HTTPProxyClientTests.test_secure_http_proxy) Client connects to server securely through an HTTP proxy. ... skipped 'mitmproxy not installed' test_secure_https_proxy (tests.sync.test_client.HTTPProxyClientTests.test_secure_https_proxy) Client connects to server securely through an HTTPS proxy. ... skipped 'mitmproxy not installed' test_context_manager (tests.sync.test_client.SecureClientTests.test_context_manager) Client connects to server securely and disconnects automatically. ... ok test_cross_origin_redirect (tests.sync.test_client.SecureClientTests.test_cross_origin_redirect) Client follows redirect to a secure URI on a different origin. ... ok test_direct_connection (tests.sync.test_client.SecureClientTests.test_direct_connection) Client connects to server securely and directly. ... ok test_redirect_to_insecure_uri (tests.sync.test_client.SecureClientTests.test_redirect_to_insecure_uri) Client doesn't follow redirect from secure URI to non-secure URI. ... ok test_reject_invalid_server_certificate (tests.sync.test_client.SecureClientTests.test_reject_invalid_server_certificate) Client rejects certificate where server certificate isn't trusted. ... ok test_reject_invalid_server_hostname (tests.sync.test_client.SecureClientTests.test_reject_invalid_server_hostname) Client rejects certificate where server hostname doesn't match. ... ok test_set_server_hostname_explicitly (tests.sync.test_client.SecureClientTests.test_set_server_hostname_explicitly) Client sets server_hostname to the value provided in argument. ... ok test_set_server_hostname_implicitly (tests.sync.test_client.SecureClientTests.test_set_server_hostname_implicitly) Client sets server_hostname to the host in the WebSocket URI. ... ok test_authenticated_socks_proxy (tests.sync.test_client.SocksProxyClientTests.test_authenticated_socks_proxy) Client connects to server through an authenticated SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_authenticated_socks_proxy_error (tests.sync.test_client.SocksProxyClientTests.test_authenticated_socks_proxy_error) Client fails to authenticate to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_explicit_socks_proxy (tests.sync.test_client.SocksProxyClientTests.test_explicit_socks_proxy) Client connects to server through a SOCKS5 proxy set explicitly. ... skipped 'mitmproxy not installed' test_ignore_proxy_with_existing_socket (tests.sync.test_client.SocksProxyClientTests.test_ignore_proxy_with_existing_socket) Client connects using a pre-existing socket. ... skipped 'mitmproxy not installed' test_secure_socks_proxy (tests.sync.test_client.SocksProxyClientTests.test_secure_socks_proxy) Client connects to server securely through a SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy (tests.sync.test_client.SocksProxyClientTests.test_socks_proxy) Client connects to server through a SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy_connection_failure (tests.sync.test_client.SocksProxyClientTests.test_socks_proxy_connection_failure) Client fails to connect to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy_connection_timeout (tests.sync.test_client.SocksProxyClientTests.test_socks_proxy_connection_timeout) Client times out while connecting to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_context_manager (tests.sync.test_client.UnixClientTests.test_context_manager) Client connects to Unix server and disconnects automatically. ... ok test_cross_origin_redirect (tests.sync.test_client.UnixClientTests.test_cross_origin_redirect) Client doesn't follows redirect to a URI on a different origin. ... ok test_direct_connection (tests.sync.test_client.UnixClientTests.test_direct_connection) Client connects to Unix server directly. ... ok test_non_existing_path (tests.sync.test_client.UnixClientTests.test_non_existing_path) Client attempts to connect to a non-existing Unix socket path. ... ok test_pathlib_path (tests.sync.test_client.UnixClientTests.test_pathlib_path) Client accepts a pathlib.Path object as the path argument. ... ok test_secure_context_manager (tests.sync.test_client.UnixClientTests.test_secure_context_manager) Client connects to Unix server securely and disconnects automatically. ... ok test_secure_direct_connection (tests.sync.test_client.UnixClientTests.test_secure_direct_connection) Client connects to Unix server securely and directly. ... ok test_set_host_header (tests.sync.test_client.UnixClientTests.test_set_host_header) Client sets the Host header to the host in the WebSocket URI. ... ok test_set_server_hostname (tests.sync.test_client.UnixClientTests.test_set_server_hostname) Client sets server_hostname to the host in the WebSocket URI. ... ok test_acknowledge_ping (tests.sync.test_connection.ClientConnectionTests.test_acknowledge_ping) ping is acknowledged by a pong with the same payload. ... ok test_acknowledge_ping_non_matching_pong (tests.sync.test_connection.ClientConnectionTests.test_acknowledge_ping_non_matching_pong) ping isn't acknowledged by a pong with a different payload. ... ok test_acknowledge_ping_on_close (tests.sync.test_connection.ClientConnectionTests.test_acknowledge_ping_on_close) ping with ack_on_close is acknowledged when the connection is closed. ... ok test_acknowledge_previous_ping (tests.sync.test_connection.ClientConnectionTests.test_acknowledge_previous_ping) ping is acknowledged by a pong for as a later ping. ... ok test_backpressure (tests.sync.test_connection.ClientConnectionTests.test_backpressure) Connection stops reading from the network when the buffer fills up. ... ok test_broadcast_binary (tests.sync.test_connection.ClientConnectionTests.test_broadcast_binary) broadcast broadcasts a binary message. ... ok test_broadcast_binary_from_str (tests.sync.test_connection.ClientConnectionTests.test_broadcast_binary_from_str) broadcast broadcasts a binary message from a str. ... ok test_broadcast_binary_reports_no_errors (tests.sync.test_connection.ClientConnectionTests.test_broadcast_binary_reports_no_errors) broadcast broadcasts a binary message without raising exceptions. ... ok test_broadcast_no_clients (tests.sync.test_connection.ClientConnectionTests.test_broadcast_no_clients) broadcast does nothing when called with an empty list of clients. ... ok test_broadcast_reports_connection_failing_to_send (tests.sync.test_connection.ClientConnectionTests.test_broadcast_reports_connection_failing_to_send) broadcast raises exceptions for connections failing to send. ... ok test_broadcast_reports_connection_with_send_blocked (tests.sync.test_connection.ClientConnectionTests.test_broadcast_reports_connection_with_send_blocked) broadcast raises exceptions for connections blocked in send. ... ok test_broadcast_skips_closed_connection (tests.sync.test_connection.ClientConnectionTests.test_broadcast_skips_closed_connection) broadcast ignores closed connections. ... ok test_broadcast_skips_closing_connection (tests.sync.test_connection.ClientConnectionTests.test_broadcast_skips_closing_connection) broadcast ignores closing connections. ... ok test_broadcast_skips_connection_failing_to_send (tests.sync.test_connection.ClientConnectionTests.test_broadcast_skips_connection_failing_to_send) broadcast logs a warning when a connection fails to send. ... ok test_broadcast_skips_connection_with_send_blocked (tests.sync.test_connection.ClientConnectionTests.test_broadcast_skips_connection_with_send_blocked) broadcast logs a warning when a connection is blocked in send. ... ok test_broadcast_text (tests.sync.test_connection.ClientConnectionTests.test_broadcast_text) broadcast broadcasts a text message. ... ok test_broadcast_text_from_bytes (tests.sync.test_connection.ClientConnectionTests.test_broadcast_text_from_bytes) broadcast broadcasts a text message from bytes. ... ok test_broadcast_text_reports_no_errors (tests.sync.test_connection.ClientConnectionTests.test_broadcast_text_reports_no_errors) broadcast broadcasts a text message without raising exceptions. ... ok test_broadcast_two_clients (tests.sync.test_connection.ClientConnectionTests.test_broadcast_two_clients) broadcast broadcasts a message to several clients. ... ok test_broadcast_type_error (tests.sync.test_connection.ClientConnectionTests.test_broadcast_type_error) broadcast raises TypeError when called with an unsupported type. ... ok test_close (tests.sync.test_connection.ClientConnectionTests.test_close) close sends a close frame. ... ok test_close_code (tests.sync.test_connection.ClientConnectionTests.test_close_code) Connection has a close_code attribute. ... ok test_close_during_recv (tests.sync.test_connection.ClientConnectionTests.test_close_during_recv) close aborts recv when called concurrently with recv. ... ok test_close_during_recv_streaming (tests.sync.test_connection.ClientConnectionTests.test_close_during_recv_streaming) close aborts recv_streaming when called concurrently with recv_streaming. ... ok test_close_during_send (tests.sync.test_connection.ClientConnectionTests.test_close_during_send) close fails the connection when called concurrently with send. ... ok test_close_expected_during_connecting (tests.sync.test_connection.ClientConnectionTests.test_close_expected_during_connecting) recv_events() terminates without waiting for close_timeout. ... ok test_close_explicit_code_reason (tests.sync.test_connection.ClientConnectionTests.test_close_explicit_code_reason) close sends a close frame with a given code and reason. ... ok test_close_idempotency (tests.sync.test_connection.ClientConnectionTests.test_close_idempotency) close does nothing if the connection is already closed. ... ok test_close_idempotency_race_condition (tests.sync.test_connection.ClientConnectionTests.test_close_idempotency_race_condition) close waits if the connection is already closing. ... ok test_close_preserves_queued_messages (tests.sync.test_connection.ClientConnectionTests.test_close_preserves_queued_messages) close preserves messages buffered in the assembler. ... ok test_close_reason (tests.sync.test_connection.ClientConnectionTests.test_close_reason) Connection has a close_reason attribute. ... ok test_close_timeout (tests.sync.test_connection.ClientConnectionTests.test_close_timeout) close_timeout parameter configures close timeout. ... ok test_close_timeout_waiting_for_close_frame (tests.sync.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_close_frame) close times out if no close frame is received. ... ok test_close_timeout_waiting_for_connection_closed (tests.sync.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_connection_closed) close times out if EOF isn't received. ... ok test_close_waits_for_close_frame (tests.sync.test_connection.ClientConnectionTests.test_close_waits_for_close_frame) close waits for a close frame then EOF before returning. ... ok test_close_waits_for_connection_closed (tests.sync.test_connection.ClientConnectionTests.test_close_waits_for_connection_closed) close waits for EOF before returning. ... ok test_disable_keepalive (tests.sync.test_connection.ClientConnectionTests.test_disable_keepalive) keepalive is disabled when ping_interval is None. ... ok test_enter (tests.sync.test_connection.ClientConnectionTests.test_enter) __enter__ returns the connection itself. ... ok test_exit (tests.sync.test_connection.ClientConnectionTests.test_exit) __exit__ closes the connection with code 1000. ... ok test_exit_with_exception (tests.sync.test_connection.ClientConnectionTests.test_exit_with_exception) __exit__ with an exception closes the connection with code 1011. ... ok test_id (tests.sync.test_connection.ClientConnectionTests.test_id) Connection has an id attribute. ... ok test_iter_binary (tests.sync.test_connection.ClientConnectionTests.test_iter_binary) __iter__ yields binary messages. ... ok test_iter_connection_closed_error (tests.sync.test_connection.ClientConnectionTests.test_iter_connection_closed_error) __iter__ raises ConnectionClosedError after an error. ... ok test_iter_connection_closed_ok (tests.sync.test_connection.ClientConnectionTests.test_iter_connection_closed_ok) __iter__ terminates after a normal closure. ... ok test_iter_mixed (tests.sync.test_connection.ClientConnectionTests.test_iter_mixed) __iter__ yields a mix of text and binary messages. ... ok test_iter_text (tests.sync.test_connection.ClientConnectionTests.test_iter_text) __iter__ yields text messages. ... ok test_keepalive (tests.sync.test_connection.ClientConnectionTests.test_keepalive) keepalive sends pings at ping_interval and measures latency. ... ok test_keepalive_ignores_timeout (tests.sync.test_connection.ClientConnectionTests.test_keepalive_ignores_timeout) keepalive ignores timeouts if ping_timeout isn't set. ... ok test_keepalive_reports_errors (tests.sync.test_connection.ClientConnectionTests.test_keepalive_reports_errors) keepalive reports unexpected errors in logs. ... ok test_keepalive_terminates_when_sending_ping_fails (tests.sync.test_connection.ClientConnectionTests.test_keepalive_terminates_when_sending_ping_fails) keepalive task terminates when sending a ping fails. ... ok test_keepalive_terminates_while_sleeping (tests.sync.test_connection.ClientConnectionTests.test_keepalive_terminates_while_sleeping) keepalive task terminates while waiting to send a ping. ... ok test_keepalive_terminates_while_waiting_for_pong (tests.sync.test_connection.ClientConnectionTests.test_keepalive_terminates_while_waiting_for_pong) keepalive task terminates while waiting to receive a pong. ... ok test_keepalive_times_out (tests.sync.test_connection.ClientConnectionTests.test_keepalive_times_out) keepalive closes the connection if ping_timeout elapses. ... ok test_local_address (tests.sync.test_connection.ClientConnectionTests.test_local_address) Connection has a local_address attribute. ... ok test_logger (tests.sync.test_connection.ClientConnectionTests.test_logger) Connection has a logger attribute. ... ok test_max_queue (tests.sync.test_connection.ClientConnectionTests.test_max_queue) max_queue configures high-water mark of frames buffer. ... ok test_max_queue_none (tests.sync.test_connection.ClientConnectionTests.test_max_queue_none) max_queue disables high-water mark of frames buffer. ... ok test_max_queue_tuple (tests.sync.test_connection.ClientConnectionTests.test_max_queue_tuple) max_queue configures high-water and low-water marks of frames buffer. ... ok test_no_reference_cycle (tests.sync.test_connection.ClientConnectionTests.test_no_reference_cycle) Connection is garbage collected immediately after deletion. ... ok test_ping (tests.sync.test_connection.ClientConnectionTests.test_ping) ping sends a ping frame with a random payload. ... ok test_ping_duplicate_payload (tests.sync.test_connection.ClientConnectionTests.test_ping_duplicate_payload) ping rejects the same payload until receiving the pong. ... ok test_ping_explicit_binary (tests.sync.test_connection.ClientConnectionTests.test_ping_explicit_binary) ping sends a ping frame with a payload provided as binary. ... ok test_ping_explicit_text (tests.sync.test_connection.ClientConnectionTests.test_ping_explicit_text) ping sends a ping frame with a payload provided as text. ... ok test_ping_unsupported_type (tests.sync.test_connection.ClientConnectionTests.test_ping_unsupported_type) ping raises TypeError when called with an unsupported type. ... ok test_pong (tests.sync.test_connection.ClientConnectionTests.test_pong) pong sends a pong frame. ... ok test_pong_explicit_binary (tests.sync.test_connection.ClientConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ... ok test_pong_explicit_text (tests.sync.test_connection.ClientConnectionTests.test_pong_explicit_text) pong sends a pong frame with a payload provided as text. ... ok test_pong_unsupported_type (tests.sync.test_connection.ClientConnectionTests.test_pong_unsupported_type) pong raises TypeError when called with an unsupported type. ... ok test_recv_binary (tests.sync.test_connection.ClientConnectionTests.test_recv_binary) recv receives a binary message. ... ok test_recv_binary_as_text (tests.sync.test_connection.ClientConnectionTests.test_recv_binary_as_text) recv receives a binary message as a str. ... ok test_recv_connection_closed_error (tests.sync.test_connection.ClientConnectionTests.test_recv_connection_closed_error) recv raises ConnectionClosedError after an error. ... ok test_recv_connection_closed_ok (tests.sync.test_connection.ClientConnectionTests.test_recv_connection_closed_ok) recv raises ConnectionClosedOK after a normal closure. ... ok test_recv_during_recv (tests.sync.test_connection.ClientConnectionTests.test_recv_during_recv) recv raises ConcurrencyError when called concurrently. ... ok test_recv_during_recv_streaming (tests.sync.test_connection.ClientConnectionTests.test_recv_during_recv_streaming) recv raises ConcurrencyError when called concurrently with recv_streaming. ... ok test_recv_fragmented_binary (tests.sync.test_connection.ClientConnectionTests.test_recv_fragmented_binary) recv receives a fragmented binary message. ... ok test_recv_fragmented_text (tests.sync.test_connection.ClientConnectionTests.test_recv_fragmented_text) recv receives a fragmented text message. ... ok test_recv_non_utf8_text (tests.sync.test_connection.ClientConnectionTests.test_recv_non_utf8_text) recv receives a non-UTF-8 text message. ... ok test_recv_streaming_binary (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_binary) recv_streaming receives a binary message. ... ok test_recv_streaming_binary_as_str (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_binary_as_str) recv_streaming receives a binary message as a str. ... ok test_recv_streaming_connection_closed_error (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_connection_closed_error) recv_streaming raises ConnectionClosedError after an error. ... ok test_recv_streaming_connection_closed_ok (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_connection_closed_ok) recv_streaming raises ConnectionClosedOK after a normal closure. ... ok test_recv_streaming_during_recv (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_during_recv) recv_streaming raises ConcurrencyError when called concurrently with recv. ... ok test_recv_streaming_during_recv_streaming (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_during_recv_streaming) recv_streaming raises ConcurrencyError when called concurrently. ... ok test_recv_streaming_fragmented_binary (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_fragmented_binary) recv_streaming receives a fragmented binary message. ... ok test_recv_streaming_fragmented_text (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_fragmented_text) recv_streaming receives a fragmented text message. ... ok test_recv_streaming_non_utf8_text (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_non_utf8_text) recv_streaming receives a non-UTF-8 text message. ... ok test_recv_streaming_text (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_text) recv_streaming receives a text message. ... ok test_recv_streaming_text_as_bytes (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_text_as_bytes) recv_streaming receives a text message as bytes. ... ok test_recv_text (tests.sync.test_connection.ClientConnectionTests.test_recv_text) recv receives a text message. ... ok test_recv_text_as_bytes (tests.sync.test_connection.ClientConnectionTests.test_recv_text_as_bytes) recv receives a text message as bytes. ... ok test_remote_address (tests.sync.test_connection.ClientConnectionTests.test_remote_address) Connection has a remote_address attribute. ... ok test_request (tests.sync.test_connection.ClientConnectionTests.test_request) Connection has a request attribute. ... ok test_response (tests.sync.test_connection.ClientConnectionTests.test_response) Connection has a response attribute. ... ok test_send_binary (tests.sync.test_connection.ClientConnectionTests.test_send_binary) send sends a binary message. ... ok test_send_binary_from_str (tests.sync.test_connection.ClientConnectionTests.test_send_binary_from_str) send sends a binary message from a str. ... ok test_send_connection_closed_error (tests.sync.test_connection.ClientConnectionTests.test_send_connection_closed_error) send raises ConnectionClosedError after an error. ... ok test_send_connection_closed_ok (tests.sync.test_connection.ClientConnectionTests.test_send_connection_closed_ok) send raises ConnectionClosedOK after a normal closure. ... ok test_send_dict (tests.sync.test_connection.ClientConnectionTests.test_send_dict) send raises TypeError when called with a dict. ... ok test_send_during_send (tests.sync.test_connection.ClientConnectionTests.test_send_during_send) send raises ConcurrencyError when called concurrently. ... ok test_send_empty_iterable (tests.sync.test_connection.ClientConnectionTests.test_send_empty_iterable) send does nothing when called with an empty iterable. ... ok test_send_fragmented_binary (tests.sync.test_connection.ClientConnectionTests.test_send_fragmented_binary) send sends a fragmented binary message. ... ok test_send_fragmented_binary_from_str (tests.sync.test_connection.ClientConnectionTests.test_send_fragmented_binary_from_str) send sends a fragmented binary message from a str. ... ok test_send_fragmented_text (tests.sync.test_connection.ClientConnectionTests.test_send_fragmented_text) send sends a fragmented text message. ... ok test_send_fragmented_text_from_bytes (tests.sync.test_connection.ClientConnectionTests.test_send_fragmented_text_from_bytes) send sends a fragmented text message from bytes. ... ok test_send_mixed_iterable (tests.sync.test_connection.ClientConnectionTests.test_send_mixed_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_text (tests.sync.test_connection.ClientConnectionTests.test_send_text) send sends a text message. ... ok test_send_text_from_bytes (tests.sync.test_connection.ClientConnectionTests.test_send_text_from_bytes) send sends a text message from bytes. ... ok test_send_unsupported_iterable (tests.sync.test_connection.ClientConnectionTests.test_send_unsupported_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_type (tests.sync.test_connection.ClientConnectionTests.test_send_unsupported_type) send raises TypeError when called with an unsupported type. ... ok test_state (tests.sync.test_connection.ClientConnectionTests.test_state) Connection has a state attribute. ... ok test_subprotocol (tests.sync.test_connection.ClientConnectionTests.test_subprotocol) Connection has a subprotocol attribute. ... ok test_unexpected_failure_in_recv_events (tests.sync.test_connection.ClientConnectionTests.test_unexpected_failure_in_recv_events) Unexpected internal error in recv_events() is correctly reported. ... ok test_unexpected_failure_in_send_context (tests.sync.test_connection.ClientConnectionTests.test_unexpected_failure_in_send_context) Unexpected internal error in send_context() is correctly reported. ... ok test_writing_in_recv_events_fails (tests.sync.test_connection.ClientConnectionTests.test_writing_in_recv_events_fails) Error when responding to incoming frames is correctly reported. ... ok test_writing_in_send_context_fails (tests.sync.test_connection.ClientConnectionTests.test_writing_in_send_context_fails) Error when sending outgoing frame is correctly reported. ... ok test_acknowledge_ping (tests.sync.test_connection.ServerConnectionTests.test_acknowledge_ping) ping is acknowledged by a pong with the same payload. ... ok test_acknowledge_ping_non_matching_pong (tests.sync.test_connection.ServerConnectionTests.test_acknowledge_ping_non_matching_pong) ping isn't acknowledged by a pong with a different payload. ... ok test_acknowledge_ping_on_close (tests.sync.test_connection.ServerConnectionTests.test_acknowledge_ping_on_close) ping with ack_on_close is acknowledged when the connection is closed. ... ok test_acknowledge_previous_ping (tests.sync.test_connection.ServerConnectionTests.test_acknowledge_previous_ping) ping is acknowledged by a pong for as a later ping. ... ok test_backpressure (tests.sync.test_connection.ServerConnectionTests.test_backpressure) Connection stops reading from the network when the buffer fills up. ... ok test_broadcast_binary (tests.sync.test_connection.ServerConnectionTests.test_broadcast_binary) broadcast broadcasts a binary message. ... ok test_broadcast_binary_from_str (tests.sync.test_connection.ServerConnectionTests.test_broadcast_binary_from_str) broadcast broadcasts a binary message from a str. ... ok test_broadcast_binary_reports_no_errors (tests.sync.test_connection.ServerConnectionTests.test_broadcast_binary_reports_no_errors) broadcast broadcasts a binary message without raising exceptions. ... ok test_broadcast_no_clients (tests.sync.test_connection.ServerConnectionTests.test_broadcast_no_clients) broadcast does nothing when called with an empty list of clients. ... ok test_broadcast_reports_connection_failing_to_send (tests.sync.test_connection.ServerConnectionTests.test_broadcast_reports_connection_failing_to_send) broadcast raises exceptions for connections failing to send. ... ok test_broadcast_reports_connection_with_send_blocked (tests.sync.test_connection.ServerConnectionTests.test_broadcast_reports_connection_with_send_blocked) broadcast raises exceptions for connections blocked in send. ... ok test_broadcast_skips_closed_connection (tests.sync.test_connection.ServerConnectionTests.test_broadcast_skips_closed_connection) broadcast ignores closed connections. ... ok test_broadcast_skips_closing_connection (tests.sync.test_connection.ServerConnectionTests.test_broadcast_skips_closing_connection) broadcast ignores closing connections. ... ok test_broadcast_skips_connection_failing_to_send (tests.sync.test_connection.ServerConnectionTests.test_broadcast_skips_connection_failing_to_send) broadcast logs a warning when a connection fails to send. ... ok test_broadcast_skips_connection_with_send_blocked (tests.sync.test_connection.ServerConnectionTests.test_broadcast_skips_connection_with_send_blocked) broadcast logs a warning when a connection is blocked in send. ... ok test_broadcast_text (tests.sync.test_connection.ServerConnectionTests.test_broadcast_text) broadcast broadcasts a text message. ... ok test_broadcast_text_from_bytes (tests.sync.test_connection.ServerConnectionTests.test_broadcast_text_from_bytes) broadcast broadcasts a text message from bytes. ... ok test_broadcast_text_reports_no_errors (tests.sync.test_connection.ServerConnectionTests.test_broadcast_text_reports_no_errors) broadcast broadcasts a text message without raising exceptions. ... ok test_broadcast_two_clients (tests.sync.test_connection.ServerConnectionTests.test_broadcast_two_clients) broadcast broadcasts a message to several clients. ... ok test_broadcast_type_error (tests.sync.test_connection.ServerConnectionTests.test_broadcast_type_error) broadcast raises TypeError when called with an unsupported type. ... ok test_close (tests.sync.test_connection.ServerConnectionTests.test_close) close sends a close frame. ... ok test_close_code (tests.sync.test_connection.ServerConnectionTests.test_close_code) Connection has a close_code attribute. ... ok test_close_during_recv (tests.sync.test_connection.ServerConnectionTests.test_close_during_recv) close aborts recv when called concurrently with recv. ... ok test_close_during_recv_streaming (tests.sync.test_connection.ServerConnectionTests.test_close_during_recv_streaming) close aborts recv_streaming when called concurrently with recv_streaming. ... ok test_close_during_send (tests.sync.test_connection.ServerConnectionTests.test_close_during_send) close fails the connection when called concurrently with send. ... ok test_close_expected_during_connecting (tests.sync.test_connection.ServerConnectionTests.test_close_expected_during_connecting) recv_events() terminates without waiting for close_timeout. ... ok test_close_explicit_code_reason (tests.sync.test_connection.ServerConnectionTests.test_close_explicit_code_reason) close sends a close frame with a given code and reason. ... ok test_close_idempotency (tests.sync.test_connection.ServerConnectionTests.test_close_idempotency) close does nothing if the connection is already closed. ... ok test_close_idempotency_race_condition (tests.sync.test_connection.ServerConnectionTests.test_close_idempotency_race_condition) close waits if the connection is already closing. ... ok test_close_preserves_queued_messages (tests.sync.test_connection.ServerConnectionTests.test_close_preserves_queued_messages) close preserves messages buffered in the assembler. ... ok test_close_reason (tests.sync.test_connection.ServerConnectionTests.test_close_reason) Connection has a close_reason attribute. ... ok test_close_timeout (tests.sync.test_connection.ServerConnectionTests.test_close_timeout) close_timeout parameter configures close timeout. ... ok test_close_timeout_waiting_for_close_frame (tests.sync.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_close_frame) close times out if no close frame is received. ... ok test_close_timeout_waiting_for_connection_closed (tests.sync.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_connection_closed) close times out if EOF isn't received. ... skipped 'only relevant on the client-side' test_close_waits_for_close_frame (tests.sync.test_connection.ServerConnectionTests.test_close_waits_for_close_frame) close waits for a close frame then EOF before returning. ... ok test_close_waits_for_connection_closed (tests.sync.test_connection.ServerConnectionTests.test_close_waits_for_connection_closed) close waits for EOF before returning. ... skipped 'only relevant on the client-side' test_disable_keepalive (tests.sync.test_connection.ServerConnectionTests.test_disable_keepalive) keepalive is disabled when ping_interval is None. ... ok test_enter (tests.sync.test_connection.ServerConnectionTests.test_enter) __enter__ returns the connection itself. ... ok test_exit (tests.sync.test_connection.ServerConnectionTests.test_exit) __exit__ closes the connection with code 1000. ... ok test_exit_with_exception (tests.sync.test_connection.ServerConnectionTests.test_exit_with_exception) __exit__ with an exception closes the connection with code 1011. ... ok test_id (tests.sync.test_connection.ServerConnectionTests.test_id) Connection has an id attribute. ... ok test_iter_binary (tests.sync.test_connection.ServerConnectionTests.test_iter_binary) __iter__ yields binary messages. ... ok test_iter_connection_closed_error (tests.sync.test_connection.ServerConnectionTests.test_iter_connection_closed_error) __iter__ raises ConnectionClosedError after an error. ... ok test_iter_connection_closed_ok (tests.sync.test_connection.ServerConnectionTests.test_iter_connection_closed_ok) __iter__ terminates after a normal closure. ... ok test_iter_mixed (tests.sync.test_connection.ServerConnectionTests.test_iter_mixed) __iter__ yields a mix of text and binary messages. ... ok test_iter_text (tests.sync.test_connection.ServerConnectionTests.test_iter_text) __iter__ yields text messages. ... ok test_keepalive (tests.sync.test_connection.ServerConnectionTests.test_keepalive) keepalive sends pings at ping_interval and measures latency. ... ok test_keepalive_ignores_timeout (tests.sync.test_connection.ServerConnectionTests.test_keepalive_ignores_timeout) keepalive ignores timeouts if ping_timeout isn't set. ... ok test_keepalive_reports_errors (tests.sync.test_connection.ServerConnectionTests.test_keepalive_reports_errors) keepalive reports unexpected errors in logs. ... ok test_keepalive_terminates_when_sending_ping_fails (tests.sync.test_connection.ServerConnectionTests.test_keepalive_terminates_when_sending_ping_fails) keepalive task terminates when sending a ping fails. ... ok test_keepalive_terminates_while_sleeping (tests.sync.test_connection.ServerConnectionTests.test_keepalive_terminates_while_sleeping) keepalive task terminates while waiting to send a ping. ... ok test_keepalive_terminates_while_waiting_for_pong (tests.sync.test_connection.ServerConnectionTests.test_keepalive_terminates_while_waiting_for_pong) keepalive task terminates while waiting to receive a pong. ... ok test_keepalive_times_out (tests.sync.test_connection.ServerConnectionTests.test_keepalive_times_out) keepalive closes the connection if ping_timeout elapses. ... ok test_local_address (tests.sync.test_connection.ServerConnectionTests.test_local_address) Connection has a local_address attribute. ... ok test_logger (tests.sync.test_connection.ServerConnectionTests.test_logger) Connection has a logger attribute. ... ok test_max_queue (tests.sync.test_connection.ServerConnectionTests.test_max_queue) max_queue configures high-water mark of frames buffer. ... ok test_max_queue_none (tests.sync.test_connection.ServerConnectionTests.test_max_queue_none) max_queue disables high-water mark of frames buffer. ... ok test_max_queue_tuple (tests.sync.test_connection.ServerConnectionTests.test_max_queue_tuple) max_queue configures high-water and low-water marks of frames buffer. ... ok test_no_reference_cycle (tests.sync.test_connection.ServerConnectionTests.test_no_reference_cycle) Connection is garbage collected immediately after deletion. ... ok test_ping (tests.sync.test_connection.ServerConnectionTests.test_ping) ping sends a ping frame with a random payload. ... ok test_ping_duplicate_payload (tests.sync.test_connection.ServerConnectionTests.test_ping_duplicate_payload) ping rejects the same payload until receiving the pong. ... ok test_ping_explicit_binary (tests.sync.test_connection.ServerConnectionTests.test_ping_explicit_binary) ping sends a ping frame with a payload provided as binary. ... ok test_ping_explicit_text (tests.sync.test_connection.ServerConnectionTests.test_ping_explicit_text) ping sends a ping frame with a payload provided as text. ... ok test_ping_unsupported_type (tests.sync.test_connection.ServerConnectionTests.test_ping_unsupported_type) ping raises TypeError when called with an unsupported type. ... ok test_pong (tests.sync.test_connection.ServerConnectionTests.test_pong) pong sends a pong frame. ... ok test_pong_explicit_binary (tests.sync.test_connection.ServerConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ... ok test_pong_explicit_text (tests.sync.test_connection.ServerConnectionTests.test_pong_explicit_text) pong sends a pong frame with a payload provided as text. ... ok test_pong_unsupported_type (tests.sync.test_connection.ServerConnectionTests.test_pong_unsupported_type) pong raises TypeError when called with an unsupported type. ... ok test_recv_binary (tests.sync.test_connection.ServerConnectionTests.test_recv_binary) recv receives a binary message. ... ok test_recv_binary_as_text (tests.sync.test_connection.ServerConnectionTests.test_recv_binary_as_text) recv receives a binary message as a str. ... ok test_recv_connection_closed_error (tests.sync.test_connection.ServerConnectionTests.test_recv_connection_closed_error) recv raises ConnectionClosedError after an error. ... ok test_recv_connection_closed_ok (tests.sync.test_connection.ServerConnectionTests.test_recv_connection_closed_ok) recv raises ConnectionClosedOK after a normal closure. ... ok test_recv_during_recv (tests.sync.test_connection.ServerConnectionTests.test_recv_during_recv) recv raises ConcurrencyError when called concurrently. ... ok test_recv_during_recv_streaming (tests.sync.test_connection.ServerConnectionTests.test_recv_during_recv_streaming) recv raises ConcurrencyError when called concurrently with recv_streaming. ... ok test_recv_fragmented_binary (tests.sync.test_connection.ServerConnectionTests.test_recv_fragmented_binary) recv receives a fragmented binary message. ... ok test_recv_fragmented_text (tests.sync.test_connection.ServerConnectionTests.test_recv_fragmented_text) recv receives a fragmented text message. ... ok test_recv_non_utf8_text (tests.sync.test_connection.ServerConnectionTests.test_recv_non_utf8_text) recv receives a non-UTF-8 text message. ... ok test_recv_streaming_binary (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_binary) recv_streaming receives a binary message. ... ok test_recv_streaming_binary_as_str (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_binary_as_str) recv_streaming receives a binary message as a str. ... ok test_recv_streaming_connection_closed_error (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_connection_closed_error) recv_streaming raises ConnectionClosedError after an error. ... ok test_recv_streaming_connection_closed_ok (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_connection_closed_ok) recv_streaming raises ConnectionClosedOK after a normal closure. ... ok test_recv_streaming_during_recv (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_during_recv) recv_streaming raises ConcurrencyError when called concurrently with recv. ... ok test_recv_streaming_during_recv_streaming (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_during_recv_streaming) recv_streaming raises ConcurrencyError when called concurrently. ... ok test_recv_streaming_fragmented_binary (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_fragmented_binary) recv_streaming receives a fragmented binary message. ... ok test_recv_streaming_fragmented_text (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_fragmented_text) recv_streaming receives a fragmented text message. ... ok test_recv_streaming_non_utf8_text (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_non_utf8_text) recv_streaming receives a non-UTF-8 text message. ... ok test_recv_streaming_text (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_text) recv_streaming receives a text message. ... ok test_recv_streaming_text_as_bytes (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_text_as_bytes) recv_streaming receives a text message as bytes. ... ok test_recv_text (tests.sync.test_connection.ServerConnectionTests.test_recv_text) recv receives a text message. ... ok test_recv_text_as_bytes (tests.sync.test_connection.ServerConnectionTests.test_recv_text_as_bytes) recv receives a text message as bytes. ... ok test_remote_address (tests.sync.test_connection.ServerConnectionTests.test_remote_address) Connection has a remote_address attribute. ... ok test_request (tests.sync.test_connection.ServerConnectionTests.test_request) Connection has a request attribute. ... ok test_response (tests.sync.test_connection.ServerConnectionTests.test_response) Connection has a response attribute. ... ok test_send_binary (tests.sync.test_connection.ServerConnectionTests.test_send_binary) send sends a binary message. ... ok test_send_binary_from_str (tests.sync.test_connection.ServerConnectionTests.test_send_binary_from_str) send sends a binary message from a str. ... ok test_send_connection_closed_error (tests.sync.test_connection.ServerConnectionTests.test_send_connection_closed_error) send raises ConnectionClosedError after an error. ... ok test_send_connection_closed_ok (tests.sync.test_connection.ServerConnectionTests.test_send_connection_closed_ok) send raises ConnectionClosedOK after a normal closure. ... ok test_send_dict (tests.sync.test_connection.ServerConnectionTests.test_send_dict) send raises TypeError when called with a dict. ... ok test_send_during_send (tests.sync.test_connection.ServerConnectionTests.test_send_during_send) send raises ConcurrencyError when called concurrently. ... ok test_send_empty_iterable (tests.sync.test_connection.ServerConnectionTests.test_send_empty_iterable) send does nothing when called with an empty iterable. ... ok test_send_fragmented_binary (tests.sync.test_connection.ServerConnectionTests.test_send_fragmented_binary) send sends a fragmented binary message. ... ok test_send_fragmented_binary_from_str (tests.sync.test_connection.ServerConnectionTests.test_send_fragmented_binary_from_str) send sends a fragmented binary message from a str. ... ok test_send_fragmented_text (tests.sync.test_connection.ServerConnectionTests.test_send_fragmented_text) send sends a fragmented text message. ... ok test_send_fragmented_text_from_bytes (tests.sync.test_connection.ServerConnectionTests.test_send_fragmented_text_from_bytes) send sends a fragmented text message from bytes. ... ok test_send_mixed_iterable (tests.sync.test_connection.ServerConnectionTests.test_send_mixed_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_text (tests.sync.test_connection.ServerConnectionTests.test_send_text) send sends a text message. ... ok test_send_text_from_bytes (tests.sync.test_connection.ServerConnectionTests.test_send_text_from_bytes) send sends a text message from bytes. ... ok test_send_unsupported_iterable (tests.sync.test_connection.ServerConnectionTests.test_send_unsupported_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_type (tests.sync.test_connection.ServerConnectionTests.test_send_unsupported_type) send raises TypeError when called with an unsupported type. ... ok test_state (tests.sync.test_connection.ServerConnectionTests.test_state) Connection has a state attribute. ... ok test_subprotocol (tests.sync.test_connection.ServerConnectionTests.test_subprotocol) Connection has a subprotocol attribute. ... ok test_unexpected_failure_in_recv_events (tests.sync.test_connection.ServerConnectionTests.test_unexpected_failure_in_recv_events) Unexpected internal error in recv_events() is correctly reported. ... ok test_unexpected_failure_in_send_context (tests.sync.test_connection.ServerConnectionTests.test_unexpected_failure_in_send_context) Unexpected internal error in send_context() is correctly reported. ... ok test_writing_in_recv_events_fails (tests.sync.test_connection.ServerConnectionTests.test_writing_in_recv_events_fails) Error when responding to incoming frames is correctly reported. ... ok test_writing_in_send_context_fails (tests.sync.test_connection.ServerConnectionTests.test_writing_in_send_context_fails) Error when sending outgoing frame is correctly reported. ... ok test_close_is_idempotent (tests.sync.test_messages.AssemblerTests.test_close_is_idempotent) close can be called multiple times safely. ... ok test_close_resumes_reading (tests.sync.test_messages.AssemblerTests.test_close_resumes_reading) close unblocks reading when queue is above the high-water mark. ... ok test_get_binary_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_binary_message_already_received) get returns a binary message that is already received. ... ok test_get_binary_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_binary_message_not_received_yet) get returns a binary message when it is received. ... ok test_get_decoded_binary_message (tests.sync.test_messages.AssemblerTests.test_get_decoded_binary_message) get returns a binary message with UTF-8 decoding. ... ok test_get_does_not_resume_reading (tests.sync.test_messages.AssemblerTests.test_get_does_not_resume_reading) get does not resume reading when the low-water mark is unset. ... ok test_get_encoded_text_message (tests.sync.test_messages.AssemblerTests.test_get_encoded_text_message) get returns a text message without UTF-8 decoding. ... ok test_get_fails_after_close (tests.sync.test_messages.AssemblerTests.test_get_fails_after_close) get raises EOFError after close is called. ... ok test_get_fails_when_get_is_running (tests.sync.test_messages.AssemblerTests.test_get_fails_when_get_is_running) get cannot be called concurrently. ... ok test_get_fails_when_get_iter_is_running (tests.sync.test_messages.AssemblerTests.test_get_fails_when_get_iter_is_running) get cannot be called concurrently with get_iter. ... ok test_get_fails_when_interrupted_by_close (tests.sync.test_messages.AssemblerTests.test_get_fails_when_interrupted_by_close) get raises EOFError when close is called. ... ok test_get_fragmented_binary_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_fragmented_binary_message_already_received) get reassembles a fragmented binary message that is already received. ... ok test_get_fragmented_binary_message_being_received (tests.sync.test_messages.AssemblerTests.test_get_fragmented_binary_message_being_received) get reassembles a fragmented binary message that is partially received. ... ok test_get_fragmented_binary_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_fragmented_binary_message_not_received_yet) get reassembles a fragmented binary message when it is received. ... ok test_get_fragmented_text_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_fragmented_text_message_already_received) get reassembles a fragmented a text message that is already received. ... ok test_get_fragmented_text_message_being_received (tests.sync.test_messages.AssemblerTests.test_get_fragmented_text_message_being_received) get reassembles a fragmented text message that is partially received. ... ok test_get_fragmented_text_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_fragmented_text_message_not_received_yet) get reassembles a fragmented text message when it is received. ... ok test_get_iter_binary_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_iter_binary_message_already_received) get_iter yields a binary message that is already received. ... ok test_get_iter_binary_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_iter_binary_message_not_received_yet) get_iter yields a binary message when it is received. ... ok test_get_iter_decoded_binary_message (tests.sync.test_messages.AssemblerTests.test_get_iter_decoded_binary_message) get_iter yields a binary message with UTF-8 decoding. ... ok test_get_iter_does_not_resume_reading (tests.sync.test_messages.AssemblerTests.test_get_iter_does_not_resume_reading) get_iter does not resume reading when the low-water mark is unset. ... ok test_get_iter_encoded_text_message (tests.sync.test_messages.AssemblerTests.test_get_iter_encoded_text_message) get_iter yields a text message without UTF-8 decoding. ... ok test_get_iter_fails_after_close (tests.sync.test_messages.AssemblerTests.test_get_iter_fails_after_close) get_iter raises EOFError after close is called. ... ok test_get_iter_fails_when_get_is_running (tests.sync.test_messages.AssemblerTests.test_get_iter_fails_when_get_is_running) get_iter cannot be called concurrently with get. ... ok test_get_iter_fails_when_get_iter_is_running (tests.sync.test_messages.AssemblerTests.test_get_iter_fails_when_get_iter_is_running) get_iter cannot be called concurrently. ... ok test_get_iter_fails_when_interrupted_by_close (tests.sync.test_messages.AssemblerTests.test_get_iter_fails_when_interrupted_by_close) get_iter raises EOFError when close is called. ... ok test_get_iter_fragmented_binary_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_already_received) get_iter yields a fragmented binary message that is already received. ... ok test_get_iter_fragmented_binary_message_being_received (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_being_received) get_iter yields a fragmented binary message that is partially received. ... ok test_get_iter_fragmented_binary_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_not_received_yet) get_iter yields a fragmented binary message when it is received. ... ok test_get_iter_fragmented_text_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_already_received) get_iter yields a fragmented text message that is already received. ... ok test_get_iter_fragmented_text_message_being_received (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_being_received) get_iter yields a fragmented text message that is partially received. ... ok test_get_iter_fragmented_text_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_not_received_yet) get_iter yields a fragmented text message when it is received. ... ok test_get_iter_partially_queued_fragmented_message_after_close (tests.sync.test_messages.AssemblerTests.test_get_iter_partially_queued_fragmented_message_after_close) get_iter yields a partial fragmented message after close is called. ... ok test_get_iter_queued_fragmented_message_after_close (tests.sync.test_messages.AssemblerTests.test_get_iter_queued_fragmented_message_after_close) get_iter yields a fragmented message after close is called. ... ok test_get_iter_queued_message_after_close (tests.sync.test_messages.AssemblerTests.test_get_iter_queued_message_after_close) get_iter yields a message after close is called. ... ok test_get_iter_resumes_reading (tests.sync.test_messages.AssemblerTests.test_get_iter_resumes_reading) get_iter resumes reading when queue goes below the low-water mark. ... ok test_get_iter_text_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_iter_text_message_already_received) get_iter yields a text message that is already received. ... ok test_get_iter_text_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_iter_text_message_not_received_yet) get_iter yields a text message when it is received. ... ok test_get_partially_queued_fragmented_message_after_close (tests.sync.test_messages.AssemblerTests.test_get_partially_queued_fragmented_message_after_close) get raises EOFError on a partial fragmented message after close is called. ... ok test_get_queued_fragmented_message_after_close (tests.sync.test_messages.AssemblerTests.test_get_queued_fragmented_message_after_close) get reassembles a fragmented message after close is called. ... ok test_get_queued_message_after_close (tests.sync.test_messages.AssemblerTests.test_get_queued_message_after_close) get returns a message after close is called. ... ok test_get_resumes_reading (tests.sync.test_messages.AssemblerTests.test_get_resumes_reading) get resumes reading when queue goes below the low-water mark. ... ok test_get_text_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_text_message_already_received) get returns a text message that is already received. ... ok test_get_text_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_text_message_not_received_yet) get returns a text message when it is received. ... ok test_get_timeout_0_fragmented_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_timeout_0_fragmented_message_already_received) get(timeout=0) returns a fragmented message that is already received. ... ok test_get_timeout_0_fragmented_message_partially_received (tests.sync.test_messages.AssemblerTests.test_get_timeout_0_fragmented_message_partially_received) get(timeout=0) times out when a fragmented message is partially received. ... ok test_get_timeout_0_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_timeout_0_message_already_received) get(timeout=0) returns a message that is already received. ... ok test_get_timeout_0_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_timeout_0_message_not_received_yet) get(timeout=0) times out when no message is already received. ... ok test_get_timeout_after_first_frame (tests.sync.test_messages.AssemblerTests.test_get_timeout_after_first_frame) get times out after reading the first frame. ... ok test_get_timeout_before_first_frame (tests.sync.test_messages.AssemblerTests.test_get_timeout_before_first_frame) get times out before reading the first frame. ... ok test_put_does_not_pause_reading (tests.sync.test_messages.AssemblerTests.test_put_does_not_pause_reading) put does not pause reading when the high-water mark is unset. ... ok test_put_fails_after_close (tests.sync.test_messages.AssemblerTests.test_put_fails_after_close) put raises EOFError after close is called. ... ok test_put_pauses_reading (tests.sync.test_messages.AssemblerTests.test_put_pauses_reading) put pauses reading when queue goes above the high-water mark. ... ok test_set_high_and_low_water_marks (tests.sync.test_messages.AssemblerTests.test_set_high_and_low_water_marks) high and low set the high-water and low-water marks. ... ok test_set_high_water_mark (tests.sync.test_messages.AssemblerTests.test_set_high_water_mark) high sets the high-water and low-water marks. ... ok test_set_invalid_high_water_mark (tests.sync.test_messages.AssemblerTests.test_set_invalid_high_water_mark) high must be a non-negative integer. ... ok test_set_invalid_low_water_mark (tests.sync.test_messages.AssemblerTests.test_set_invalid_low_water_mark) low must be higher than high. ... ok test_set_low_water_mark (tests.sync.test_messages.AssemblerTests.test_set_low_water_mark) low sets the low-water and high-water marks. ... ok test_unset_high_and_low_water_marks (tests.sync.test_messages.AssemblerTests.test_unset_high_and_low_water_marks) High-water and low-water marks are unset. ... ok test_custom_router_factory (tests.sync.test_router.RouterTests.test_custom_router_factory) Router supports a custom router factory. ... ok test_force_redirect_server_name (tests.sync.test_router.RouterTests.test_force_redirect_server_name) Router redirects connections to the host declared in server_name. ... ok test_force_secure_redirect (tests.sync.test_router.RouterTests.test_force_secure_redirect) Router redirects ws:// connections to a wss:// URI when ssl=True. ... ok test_not_found (tests.sync.test_router.RouterTests.test_not_found) Router rejects requests to unknown paths with an HTTP 404 error. ... ok test_process_request_returning_none (tests.sync.test_router.RouterTests.test_process_request_returning_none) Router supports a process_request returning None. ... ok test_process_request_returning_response (tests.sync.test_router.RouterTests.test_process_request_returning_response) Router supports a process_request returning a response. ... ok test_redirect (tests.sync.test_router.RouterTests.test_redirect) Router redirects connections according to redirect_to. ... ok test_route_with_query_string (tests.sync.test_router.RouterTests.test_route_with_query_string) Router ignores query strings when matching paths. ... ok test_router_matches_paths_and_extracts_parameters (tests.sync.test_router.RouterTests.test_router_matches_paths_and_extracts_parameters) Router matches paths and extracts parameters. ... ok test_secure_redirect (tests.sync.test_router.RouterTests.test_secure_redirect) Router redirects connections according to redirect_to when TLS is enabled. ... ok test_router_supports_unix_sockets (tests.sync.test_router.UnixRouterTests.test_router_supports_unix_sockets) Router supports Unix sockets. ... ok test_ssl_context_argument (tests.sync.test_server.BackwardsCompatibilityTests.test_ssl_context_argument) Server supports the deprecated ssl_context argument. ... ok test_web_socket_server_class (tests.sync.test_server.BackwardsCompatibilityTests.test_web_socket_server_class) ... ok test_authorization_with_incorrect_password (tests.sync.test_server.BasicAuthTests.test_authorization_with_incorrect_password) basic_auth rejects client with incorrect password. ... ok test_authorization_with_unknown_username (tests.sync.test_server.BasicAuthTests.test_authorization_with_unknown_username) basic_auth rejects client with unknown username. ... ok test_bad_credentials (tests.sync.test_server.BasicAuthTests.test_bad_credentials) basic_auth receives an unsupported credentials argument. ... ok test_bad_list_of_credentials (tests.sync.test_server.BasicAuthTests.test_bad_list_of_credentials) basic_auth receives an unsupported credentials argument. ... ok test_check_credentials_function (tests.sync.test_server.BasicAuthTests.test_check_credentials_function) basic_auth accepts a check_credentials function. ... ok test_list_of_credentials (tests.sync.test_server.BasicAuthTests.test_list_of_credentials) basic_auth accepts a list of hard coded credentials. ... ok test_missing_authorization (tests.sync.test_server.BasicAuthTests.test_missing_authorization) basic_auth rejects client without credentials. ... ok test_unsupported_authorization (tests.sync.test_server.BasicAuthTests.test_unsupported_authorization) basic_auth rejects client with unsupported credentials. ... ok test_valid_authorization (tests.sync.test_server.BasicAuthTests.test_valid_authorization) basic_auth authenticates client with HTTP Basic Authentication. ... ok test_with_credentials_and_check_credentials (tests.sync.test_server.BasicAuthTests.test_with_credentials_and_check_credentials) basic_auth requires only one of credentials and check_credentials. ... ok test_without_credentials_or_check_credentials (tests.sync.test_server.BasicAuthTests.test_without_credentials_or_check_credentials) basic_auth requires either credentials or check_credentials. ... ok test_connection (tests.sync.test_server.SecureServerTests.test_connection) Server receives secure connection from client. ... ok test_connection_closed_during_tls_handshake (tests.sync.test_server.SecureServerTests.test_connection_closed_during_tls_handshake) Server reads EOF before receiving TLS handshake request from client. ... ok test_timeout_during_tls_handshake (tests.sync.test_server.SecureServerTests.test_timeout_during_tls_handshake) Server times out before receiving TLS handshake request from client. ... ok test_connection (tests.sync.test_server.SecureUnixServerTests.test_connection) Server receives secure connection from client over a Unix socket. ... ok test_compression_is_enabled (tests.sync.test_server.ServerTests.test_compression_is_enabled) Server enables compression by default. ... ok test_connection (tests.sync.test_server.ServerTests.test_connection) Server receives connection from client and the handshake succeeds. ... ok test_connection_closed_before_handshake_request (tests.sync.test_server.ServerTests.test_connection_closed_before_handshake_request) Server reads EOF before receiving handshake request from client. ... ok test_connection_closed_before_handshake_response_sync (tests.sync.test_server.ServerTests.test_connection_closed_before_handshake_response_sync) Server reads EOF before sending handshake response to client. ... ok test_connection_handler_raises_exception (tests.sync.test_server.ServerTests.test_connection_handler_raises_exception) Connection handler raises an exception. ... ok test_connection_handler_returns (tests.sync.test_server.ServerTests.test_connection_handler_returns) Connection handler returns. ... ok test_connections (tests.sync.test_server.ServerTests.test_connections) Server provides a connections property. ... ok test_context_manager_closes_server (tests.sync.test_server.ServerTests.test_context_manager_closes_server) Server closes when exiting context manager. ... ok test_custom_connection_factory (tests.sync.test_server.ServerTests.test_custom_connection_factory) Server runs ServerConnection factory provided in create_connection. ... ok test_disable_compression (tests.sync.test_server.ServerTests.test_disable_compression) Server disables compression. ... ok test_disable_keepalive (tests.sync.test_server.ServerTests.test_disable_keepalive) Server disables keepalive. ... ok test_existing_socket (tests.sync.test_server.ServerTests.test_existing_socket) Server receives connection using a pre-existing socket. ... ok test_fileno (tests.sync.test_server.ServerTests.test_fileno) Server provides a fileno method. ... ok test_handshake_fails (tests.sync.test_server.ServerTests.test_handshake_fails) Server receives connection from client but the handshake fails. ... ok test_junk_handshake_request (tests.sync.test_server.ServerTests.test_junk_handshake_request) Server closes the connection when receiving non-HTTP request from client. ... ok test_keepalive_is_enabled (tests.sync.test_server.ServerTests.test_keepalive_is_enabled) Server enables keepalive and measures latency. ... ok test_logger (tests.sync.test_server.ServerTests.test_logger) Server accepts a logger argument. ... ok test_override_server_header (tests.sync.test_server.ServerTests.test_override_server_header) Server can override Server header with server_header. ... ok test_process_request_raises_exception (tests.sync.test_server.ServerTests.test_process_request_raises_exception) Server returns an error if process_request raises an exception. ... ok test_process_request_returns_none (tests.sync.test_server.ServerTests.test_process_request_returns_none) Server runs process_request and continues the handshake. ... ok test_process_request_returns_response (tests.sync.test_server.ServerTests.test_process_request_returns_response) Server aborts handshake if process_request returns a response. ... ok test_process_response_modifies_response (tests.sync.test_server.ServerTests.test_process_response_modifies_response) Server runs process_response and modifies the handshake response. ... ok test_process_response_raises_exception (tests.sync.test_server.ServerTests.test_process_response_raises_exception) Server returns an error if process_response raises an exception. ... ok test_process_response_replaces_response (tests.sync.test_server.ServerTests.test_process_response_replaces_response) Server runs process_response and replaces the handshake response. ... ok test_process_response_returns_none (tests.sync.test_server.ServerTests.test_process_response_returns_none) Server runs process_response but keeps the handshake response. ... ok test_remove_server_header (tests.sync.test_server.ServerTests.test_remove_server_header) Server can remove Server header with server_header. ... ok test_select_subprotocol (tests.sync.test_server.ServerTests.test_select_subprotocol) Server selects a subprotocol with the select_subprotocol callable. ... ok test_select_subprotocol_raises_exception (tests.sync.test_server.ServerTests.test_select_subprotocol_raises_exception) Server returns an error if select_subprotocol raises an exception. ... ok test_select_subprotocol_rejects_handshake (tests.sync.test_server.ServerTests.test_select_subprotocol_rejects_handshake) Server rejects handshake if select_subprotocol raises NegotiationError. ... ok test_shutdown_closes_open_connections (tests.sync.test_server.ServerTests.test_shutdown_closes_open_connections) Server closes open connections with code 1001. ... ok test_shutdown_closes_open_connections_with_code_and_reason (tests.sync.test_server.ServerTests.test_shutdown_closes_open_connections_with_code_and_reason) Server closes open connections with a custom code and reason. ... ok test_shutdown_keeps_connections_open (tests.sync.test_server.ServerTests.test_shutdown_keeps_connections_open) Server waits for the client to close open connections. ... ok test_shutdown_keeps_handlers_running (tests.sync.test_server.ServerTests.test_shutdown_keeps_handlers_running) Server waits for connection handlers to terminate. ... ok test_shutdown_rejects_connecting_connections (tests.sync.test_server.ServerTests.test_shutdown_rejects_connecting_connections) Server rejects connecting connections with HTTP 503. ... ok test_shutdown_stops_accepting_connections (tests.sync.test_server.ServerTests.test_shutdown_stops_accepting_connections) Server stops accepting connections. ... ok test_timeout_before_handshake_request (tests.sync.test_server.ServerTests.test_timeout_before_handshake_request) Server times out before receiving handshake request from client. ... ok test_host_and_sock (tests.sync.test_server.ServerUsageErrorsTests.test_host_and_sock) Server rejects host when sock is provided. ... ok test_invalid_subprotocol (tests.sync.test_server.ServerUsageErrorsTests.test_invalid_subprotocol) Server rejects single value of subprotocols. ... ok test_port_and_sock (tests.sync.test_server.ServerUsageErrorsTests.test_port_and_sock) Server rejects port when sock is provided. ... ok test_unix_with_path_and_sock (tests.sync.test_server.ServerUsageErrorsTests.test_unix_with_path_and_sock) Unix server rejects path when sock is provided. ... ok test_unix_without_path_or_sock (tests.sync.test_server.ServerUsageErrorsTests.test_unix_without_path_or_sock) Unix server requires path when sock isn't provided. ... ok test_unsupported_compression (tests.sync.test_server.ServerUsageErrorsTests.test_unsupported_compression) Server rejects incorrect value of compression. ... ok test_connection (tests.sync.test_server.UnixServerTests.test_connection) Server receives connection from client over a Unix socket. ... ok test_pathlib_path (tests.sync.test_server.UnixServerTests.test_pathlib_path) Server accepts a pathlib.Path object as the path argument. ... ok test_no_timeout (tests.sync.test_utils.DeadlineTests.test_no_timeout) timeout returns None when no deadline is set. ... ok test_timeout_elapsed_exception (tests.sync.test_utils.DeadlineTests.test_timeout_elapsed_exception) timeout raises TimeoutError if deadline is in the past. ... ok test_timeout_elapsed_no_exception (tests.sync.test_utils.DeadlineTests.test_timeout_elapsed_no_exception) timeout doesn't raise TimeoutError when raise_if_elapsed is disabled. ... ok test_timeout_pending (tests.sync.test_utils.DeadlineTests.test_timeout_pending) timeout returns remaining time if deadline is in the future. ... ok test_headers_class (tests.test_auth.BackwardsCompatibilityTests.test_headers_class) ... ok test_close_connection (tests.test_cli.CLITests.test_close_connection) ... ok test_connection_failure (tests.test_cli.CLITests.test_connection_failure) ... ok test_escape_control_characters (tests.test_cli.CLITests.test_escape_control_characters) ... ok test_help (tests.test_cli.CLITests.test_help) ... ok test_insecure_connection_accepted (tests.test_cli.CLITests.test_insecure_connection_accepted) ... ok test_insecure_connection_rejected (tests.test_cli.CLITests.test_insecure_connection_rejected) ... ok test_no_args (tests.test_cli.CLITests.test_no_args) ... ok test_receive_binary_message (tests.test_cli.CLITests.test_receive_binary_message) ... ok test_receive_text_message (tests.test_cli.CLITests.test_receive_text_message) ... ok test_send_message (tests.test_cli.CLITests.test_send_message) ... ok test_version (tests.test_cli.CLITests.test_version) ... ok test_backoff (tests.test_client.BackoffTests.test_backoff) backoff() yields a random delay, then exponentially increasing delays. ... ok test_client_connection_class (tests.test_client.BackwardsCompatibilityTests.test_client_connection_class) ClientConnection is a deprecated alias for ClientProtocol. ... ok test_receive_failed_response (tests.test_client.BasicTests.test_receive_failed_response) Client receives a failed handshake response. ... ok test_receive_successful_response (tests.test_client.BasicTests.test_receive_successful_response) Client receives a successful handshake response. ... ok test_send_request (tests.test_client.BasicTests.test_send_request) Client sends a handshake request. ... ok test_basic (tests.test_client.HandshakeTests.test_basic) Handshake succeeds. ... ok test_enable_extension (tests.test_client.HandshakeTests.test_enable_extension) Client offers an extension and the server enables it. ... ok test_enable_subprotocol (tests.test_client.HandshakeTests.test_enable_subprotocol) Client offers a subprotocol and the server enables it. ... ok test_extension_not_enabled (tests.test_client.HandshakeTests.test_extension_not_enabled) Client offers an extension, but the server doesn't enable it. ... ok test_extension_not_offered (tests.test_client.HandshakeTests.test_extension_not_offered) Server enables an extension that the client didn't offer. ... ok test_invalid_accept (tests.test_client.HandshakeTests.test_invalid_accept) Handshake fails when the Sec-WebSocket-Accept header is invalid. ... ok test_invalid_connection (tests.test_client.HandshakeTests.test_invalid_connection) Handshake fails when the Connection header is invalid. ... ok test_invalid_upgrade (tests.test_client.HandshakeTests.test_invalid_upgrade) Handshake fails when the Upgrade header is invalid. ... ok test_missing_accept (tests.test_client.HandshakeTests.test_missing_accept) Handshake fails when the Sec-WebSocket-Accept header is missing. ... ok test_missing_connection (tests.test_client.HandshakeTests.test_missing_connection) Handshake fails when the Connection header is missing. ... ok test_missing_upgrade (tests.test_client.HandshakeTests.test_missing_upgrade) Handshake fails when the Upgrade header is missing. ... ok test_multiple_accept (tests.test_client.HandshakeTests.test_multiple_accept) Handshake fails when the Sec-WebSocket-Accept header is repeated. ... ok test_multiple_extensions (tests.test_client.HandshakeTests.test_multiple_extensions) Client offers several extensions and the server enables them. ... ok test_multiple_extensions_order (tests.test_client.HandshakeTests.test_multiple_extensions_order) Client respects the order of extensions chosen by the server. ... ok test_multiple_subprotocols (tests.test_client.HandshakeTests.test_multiple_subprotocols) Client offers several subprotocols and the server enables one. ... ok test_multiple_subprotocols_accepted (tests.test_client.HandshakeTests.test_multiple_subprotocols_accepted) Server attempts to enable multiple subprotocols. ... ok test_multiple_supported_extension_parameters (tests.test_client.HandshakeTests.test_multiple_supported_extension_parameters) Client offers the same extension with several parameters. ... ok test_no_extensions (tests.test_client.HandshakeTests.test_no_extensions) Handshake succeeds without extensions. ... ok test_no_extensions_offered (tests.test_client.HandshakeTests.test_no_extensions_offered) Server enables an extension when the client didn't offer any. ... ok test_no_subprotocol_accepted (tests.test_client.HandshakeTests.test_no_subprotocol_accepted) Client offers a subprotocol, but the server doesn't enable it. ... ok test_no_subprotocol_requested (tests.test_client.HandshakeTests.test_no_subprotocol_requested) Client doesn't offer a subprotocol, but the server enables one. ... ok test_no_subprotocols (tests.test_client.HandshakeTests.test_no_subprotocols) Handshake succeeds without subprotocols. ... ok test_offer_extension (tests.test_client.HandshakeTests.test_offer_extension) Client offers an extension. ... ok test_offer_subprotocol (tests.test_client.HandshakeTests.test_offer_subprotocol) Client offers a subprotocol. ... ok test_supported_extension_parameters (tests.test_client.HandshakeTests.test_supported_extension_parameters) Server enables an extension with parameters supported by the client. ... ok test_unsupported_extension_parameters (tests.test_client.HandshakeTests.test_unsupported_extension_parameters) Server enables an extension with parameters unsupported by the client. ... ok test_unsupported_subprotocol (tests.test_client.HandshakeTests.test_unsupported_subprotocol) Client offers subprotocols but the server enables another one. ... ok test_bypass_handshake (tests.test_client.MiscTests.test_bypass_handshake) ClientProtocol bypasses the opening handshake. ... ok test_custom_logger (tests.test_client.MiscTests.test_custom_logger) ClientProtocol accepts a logger argument. ... ok test_process_exception_fatal (tests.test_client.ProcessExceptionTests.test_process_exception_fatal) process_exception(exc) returns exc on fatal errors. ... ok test_process_exception_retryable (tests.test_client.ProcessExceptionTests.test_process_exception_retryable) process_exception(exc) returns None on retriable errors. ... ok test_connect (tests.test_client.RequestTests.test_connect) connect() creates an opening handshake request. ... ok test_extensions (tests.test_client.RequestTests.test_extensions) connect(extensions=...) generates a Sec-WebSocket-Extensions header. ... ok test_origin (tests.test_client.RequestTests.test_origin) connect(origin=...) generates an Origin header. ... ok test_path (tests.test_client.RequestTests.test_path) connect() uses the path from the URI. ... ok test_port (tests.test_client.RequestTests.test_port) connect() uses the port from the URI or the default port. ... ok test_subprotocols (tests.test_client.RequestTests.test_subprotocols) connect(subprotocols=...) generates a Sec-WebSocket-Protocol header. ... ok test_user_info (tests.test_client.RequestTests.test_user_info) connect() performs HTTP Basic Authentication with user info from the URI. ... ok test_receive_failed_response (tests.test_client.ResponseTests.test_receive_failed_response) Client receives a failed handshake response. ... ok test_receive_junk_response (tests.test_client.ResponseTests.test_receive_junk_response) Client receives a junk handshake response. ... ok test_receive_no_response (tests.test_client.ResponseTests.test_receive_no_response) Client receives no handshake response. ... ok test_receive_status_line_too_long (tests.test_client.ResponseTests.test_receive_status_line_too_long) Client receives a handshake response with a status line that's too long. ... ok test_receive_successful_response (tests.test_client.ResponseTests.test_receive_successful_response) Client receives a successful handshake response. ... ok test_receive_truncated_response (tests.test_client.ResponseTests.test_receive_truncated_response) Client receives a truncated handshake response. ... ok test_connection_class (tests.test_connection.BackwardsCompatibilityTests.test_connection_class) Connection is a deprecated alias for Protocol. ... ok test_clear (tests.test_datastructures.HeadersTests.test_clear) ... ok test_contains (tests.test_datastructures.HeadersTests.test_contains) ... ok test_contains_case_insensitive (tests.test_datastructures.HeadersTests.test_contains_case_insensitive) ... ok test_contains_non_string_key (tests.test_datastructures.HeadersTests.test_contains_non_string_key) ... ok test_contains_not_found (tests.test_datastructures.HeadersTests.test_contains_not_found) ... ok test_copy (tests.test_datastructures.HeadersTests.test_copy) ... ok test_delitem (tests.test_datastructures.HeadersTests.test_delitem) ... ok test_delitem_case_insensitive (tests.test_datastructures.HeadersTests.test_delitem_case_insensitive) ... ok test_eq (tests.test_datastructures.HeadersTests.test_eq) ... ok test_eq_case_insensitive (tests.test_datastructures.HeadersTests.test_eq_case_insensitive) ... ok test_eq_not_equal (tests.test_datastructures.HeadersTests.test_eq_not_equal) ... ok test_eq_other_type (tests.test_datastructures.HeadersTests.test_eq_other_type) ... ok test_get_all (tests.test_datastructures.HeadersTests.test_get_all) ... ok test_get_all_case_insensitive (tests.test_datastructures.HeadersTests.test_get_all_case_insensitive) ... ok test_get_all_no_values (tests.test_datastructures.HeadersTests.test_get_all_no_values) ... ok test_getitem (tests.test_datastructures.HeadersTests.test_getitem) ... ok test_getitem_case_insensitive (tests.test_datastructures.HeadersTests.test_getitem_case_insensitive) ... ok test_getitem_key_error (tests.test_datastructures.HeadersTests.test_getitem_key_error) ... ok test_init (tests.test_datastructures.HeadersTests.test_init) ... ok test_init_from_headers (tests.test_datastructures.HeadersTests.test_init_from_headers) ... ok test_init_from_headers_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_headers_and_kwargs) ... ok test_init_from_iterable (tests.test_datastructures.HeadersTests.test_init_from_iterable) ... ok test_init_from_iterable_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_iterable_and_kwargs) ... ok test_init_from_kwargs (tests.test_datastructures.HeadersTests.test_init_from_kwargs) ... ok test_init_from_mapping (tests.test_datastructures.HeadersTests.test_init_from_mapping) ... ok test_init_from_mapping_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_mapping_and_kwargs) ... ok test_init_multiple_positional_arguments (tests.test_datastructures.HeadersTests.test_init_multiple_positional_arguments) ... ok test_iter (tests.test_datastructures.HeadersTests.test_iter) ... ok test_len (tests.test_datastructures.HeadersTests.test_len) ... ok test_raw_items (tests.test_datastructures.HeadersTests.test_raw_items) ... ok test_repr (tests.test_datastructures.HeadersTests.test_repr) ... ok test_serialize (tests.test_datastructures.HeadersTests.test_serialize) ... ok test_serialize_non_ascii_value (tests.test_datastructures.HeadersTests.test_serialize_non_ascii_value) ... ok test_set_insecure (tests.test_datastructures.HeadersTests.test_set_insecure) ... ok test_set_insecure_invalid_value (tests.test_datastructures.HeadersTests.test_set_insecure_invalid_value) ... ok test_setitem (tests.test_datastructures.HeadersTests.test_setitem) ... ok test_setitem_case_insensitive (tests.test_datastructures.HeadersTests.test_setitem_case_insensitive) ... ok test_setitem_invalid_value (tests.test_datastructures.HeadersTests.test_setitem_invalid_value) ... ok test_setitem_non_ascii_value (tests.test_datastructures.HeadersTests.test_setitem_non_ascii_value) ... ok test_setitem_non_latin1_value (tests.test_datastructures.HeadersTests.test_setitem_non_latin1_value) ... ok test_str (tests.test_datastructures.HeadersTests.test_str) ... ok test_copy (tests.test_datastructures.MultiValueHeadersTests.test_copy) ... ok test_delitem (tests.test_datastructures.MultiValueHeadersTests.test_delitem) ... ok test_get_all (tests.test_datastructures.MultiValueHeadersTests.test_get_all) ... ok test_getitem_multiple_values_error (tests.test_datastructures.MultiValueHeadersTests.test_getitem_multiple_values_error) ... ok test_init_from_headers (tests.test_datastructures.MultiValueHeadersTests.test_init_from_headers) ... ok test_init_from_headers_and_kwargs (tests.test_datastructures.MultiValueHeadersTests.test_init_from_headers_and_kwargs) ... ok test_iter (tests.test_datastructures.MultiValueHeadersTests.test_iter) ... ok test_len (tests.test_datastructures.MultiValueHeadersTests.test_len) ... ok test_raw_items (tests.test_datastructures.MultiValueHeadersTests.test_raw_items) ... ok test_repr (tests.test_datastructures.MultiValueHeadersTests.test_repr) ... ok test_serialize (tests.test_datastructures.MultiValueHeadersTests.test_serialize) ... ok test_setitem (tests.test_datastructures.MultiValueHeadersTests.test_setitem) ... ok test_str (tests.test_datastructures.MultiValueHeadersTests.test_str) ... ok test_multiple_values_error_str (tests.test_datastructures.MultipleValuesErrorTests.test_multiple_values_error_str) ... ok test_connection_closed_attributes_deprecation (tests.test_exceptions.DeprecationTests.test_connection_closed_attributes_deprecation) ... ok test_connection_closed_attributes_deprecation_defaults (tests.test_exceptions.DeprecationTests.test_connection_closed_attributes_deprecation_defaults) ... ok test_payload_too_big_with_message (tests.test_exceptions.DeprecationTests.test_payload_too_big_with_message) ... ok test_str (tests.test_exceptions.ExceptionsTests.test_str) ... ok test_submodule_exports_are_globally_unique (tests.test_exports.ExportsTests.test_submodule_exports_are_globally_unique) ... ok test_top_level_module_reexports_submodule_exports (tests.test_exports.ExportsTests.test_top_level_module_reexports_submodule_exports) ... ok test_parse_and_serialize (tests.test_frames.CloseTests.test_parse_and_serialize) ... ok test_parse_empty (tests.test_frames.CloseTests.test_parse_empty) ... ok test_parse_errors (tests.test_frames.CloseTests.test_parse_errors) ... ok test_serialize_errors (tests.test_frames.CloseTests.test_serialize_errors) ... ok test_str (tests.test_frames.CloseTests.test_str) ... ok test_bad_opcode (tests.test_frames.FrameTests.test_bad_opcode) ... ok test_bad_reserved_bits (tests.test_frames.FrameTests.test_bad_reserved_bits) ... ok test_binary_masked (tests.test_frames.FrameTests.test_binary_masked) ... ok test_binary_unmasked (tests.test_frames.FrameTests.test_binary_unmasked) ... ok test_close (tests.test_frames.FrameTests.test_close) ... ok test_control_frame_max_length (tests.test_frames.FrameTests.test_control_frame_max_length) ... ok test_extensions (tests.test_frames.FrameTests.test_extensions) ... ok test_fragmented_control_frame (tests.test_frames.FrameTests.test_fragmented_control_frame) ... ok test_good_opcode (tests.test_frames.FrameTests.test_good_opcode) ... ok test_long (tests.test_frames.FrameTests.test_long) ... ok test_mask_flag (tests.test_frames.FrameTests.test_mask_flag) ... ok test_non_ascii_text_masked (tests.test_frames.FrameTests.test_non_ascii_text_masked) ... ok test_non_ascii_text_unmasked (tests.test_frames.FrameTests.test_non_ascii_text_unmasked) ... ok test_payload_too_big (tests.test_frames.FrameTests.test_payload_too_big) ... ok test_ping (tests.test_frames.FrameTests.test_ping) ... ok test_pong (tests.test_frames.FrameTests.test_pong) ... ok test_text_masked (tests.test_frames.FrameTests.test_text_masked) ... ok test_text_unmasked (tests.test_frames.FrameTests.test_text_unmasked) ... ok test_very_long (tests.test_frames.FrameTests.test_very_long) ... ok test_is_utf8_fragment_false (tests.test_frames.MiscTests.test_is_utf8_fragment_false) ... ok test_is_utf8_fragment_must_end_clean (tests.test_frames.MiscTests.test_is_utf8_fragment_must_end_clean) ... ok test_is_utf8_fragment_must_start_clean (tests.test_frames.MiscTests.test_is_utf8_fragment_must_start_clean) ... ok test_is_utf8_fragment_true (tests.test_frames.MiscTests.test_is_utf8_fragment_true) ... ok test_binary (tests.test_frames.StrTests.test_binary) ... ok test_binary_from_memoryview (tests.test_frames.StrTests.test_binary_from_memoryview) ... ok test_binary_non_final (tests.test_frames.StrTests.test_binary_non_final) ... ok test_binary_non_final_from_memoryview (tests.test_frames.StrTests.test_binary_non_final_from_memoryview) ... ok test_binary_truncated (tests.test_frames.StrTests.test_binary_truncated) ... ok test_binary_truncated_from_memoryview (tests.test_frames.StrTests.test_binary_truncated_from_memoryview) ... ok test_close (tests.test_frames.StrTests.test_close) ... ok test_close_invalid (tests.test_frames.StrTests.test_close_invalid) ... ok test_close_reason (tests.test_frames.StrTests.test_close_reason) ... ok test_cont_binary (tests.test_frames.StrTests.test_cont_binary) ... ok test_cont_binary_from_memoryview (tests.test_frames.StrTests.test_cont_binary_from_memoryview) ... ok test_cont_binary_truncated (tests.test_frames.StrTests.test_cont_binary_truncated) ... ok test_cont_binary_truncated_from_memoryview (tests.test_frames.StrTests.test_cont_binary_truncated_from_memoryview) ... ok test_cont_final_binary (tests.test_frames.StrTests.test_cont_final_binary) ... ok test_cont_final_binary_from_memoryview (tests.test_frames.StrTests.test_cont_final_binary_from_memoryview) ... ok test_cont_final_text (tests.test_frames.StrTests.test_cont_final_text) ... ok test_cont_text (tests.test_frames.StrTests.test_cont_text) ... ok test_cont_text_fragmented (tests.test_frames.StrTests.test_cont_text_fragmented) ... ok test_cont_text_truncated (tests.test_frames.StrTests.test_cont_text_truncated) ... ok test_ping (tests.test_frames.StrTests.test_ping) ... ok test_ping_binary (tests.test_frames.StrTests.test_ping_binary) ... ok test_ping_text (tests.test_frames.StrTests.test_ping_text) ... ok test_ping_text_with_newline (tests.test_frames.StrTests.test_ping_text_with_newline) ... ok test_pong (tests.test_frames.StrTests.test_pong) ... ok test_pong_binary (tests.test_frames.StrTests.test_pong_binary) ... ok test_pong_text (tests.test_frames.StrTests.test_pong_text) ... ok test_pong_text_with_newline (tests.test_frames.StrTests.test_pong_text_with_newline) ... ok test_text (tests.test_frames.StrTests.test_text) ... ok test_text_fragmented (tests.test_frames.StrTests.test_text_fragmented) ... ok test_text_non_final (tests.test_frames.StrTests.test_text_non_final) ... ok test_text_truncated (tests.test_frames.StrTests.test_text_truncated) ... ok test_text_with_newline (tests.test_frames.StrTests.test_text_with_newline) ... ok test_build_authorization_basic (tests.test_headers.HeadersTests.test_build_authorization_basic) ... ok test_build_authorization_basic_utf8 (tests.test_headers.HeadersTests.test_build_authorization_basic_utf8) ... ok test_build_host (tests.test_headers.HeadersTests.test_build_host) ... ok test_build_www_authenticate_basic (tests.test_headers.HeadersTests.test_build_www_authenticate_basic) ... ok test_build_www_authenticate_basic_invalid_realm (tests.test_headers.HeadersTests.test_build_www_authenticate_basic_invalid_realm) ... ok test_parse_authorization_basic (tests.test_headers.HeadersTests.test_parse_authorization_basic) ... ok test_parse_authorization_basic_invalid_header_format (tests.test_headers.HeadersTests.test_parse_authorization_basic_invalid_header_format) ... ok test_parse_authorization_basic_invalid_header_value (tests.test_headers.HeadersTests.test_parse_authorization_basic_invalid_header_value) ... ok test_parse_connection (tests.test_headers.HeadersTests.test_parse_connection) ... ok test_parse_connection_invalid_header_format (tests.test_headers.HeadersTests.test_parse_connection_invalid_header_format) ... ok test_parse_extension (tests.test_headers.HeadersTests.test_parse_extension) ... ok test_parse_extension_invalid_header_format (tests.test_headers.HeadersTests.test_parse_extension_invalid_header_format) ... ok test_parse_subprotocol (tests.test_headers.HeadersTests.test_parse_subprotocol) ... ok test_parse_subprotocol_invalid_header (tests.test_headers.HeadersTests.test_parse_subprotocol_invalid_header) ... ok test_parse_upgrade (tests.test_headers.HeadersTests.test_parse_upgrade) ... ok test_parse_upgrade_invalid_header_format (tests.test_headers.HeadersTests.test_parse_upgrade_invalid_header_format) ... ok test_validate_subprotocols (tests.test_headers.HeadersTests.test_validate_subprotocols) ... ok test_validate_subprotocols_invalid (tests.test_headers.HeadersTests.test_validate_subprotocols_invalid) ... ok test_parse_invalid_line_ending (tests.test_http11.HeadersTests.test_parse_invalid_line_ending) ... ok test_parse_invalid_name (tests.test_http11.HeadersTests.test_parse_invalid_name) ... ok test_parse_invalid_value (tests.test_http11.HeadersTests.test_parse_invalid_value) ... ok test_parse_iso_8859_1 (tests.test_http11.HeadersTests.test_parse_iso_8859_1) ... ok test_parse_too_long_line (tests.test_http11.HeadersTests.test_parse_too_long_line) ... ok test_parse_too_many_headers (tests.test_http11.HeadersTests.test_parse_too_many_headers) ... ok test_parse (tests.test_http11.RequestTests.test_parse) ... ok test_parse_body (tests.test_http11.RequestTests.test_parse_body) ... ok test_parse_body_content_length_zero (tests.test_http11.RequestTests.test_parse_body_content_length_zero) ... ok test_parse_body_with_transfer_encoding (tests.test_http11.RequestTests.test_parse_body_with_transfer_encoding) ... ok test_parse_empty (tests.test_http11.RequestTests.test_parse_empty) ... ok test_parse_http_1_0 (tests.test_http11.RequestTests.test_parse_http_1_0) ... ok test_parse_invalid_header (tests.test_http11.RequestTests.test_parse_invalid_header) ... ok test_parse_invalid_request_line (tests.test_http11.RequestTests.test_parse_invalid_request_line) ... ok test_parse_non_ascii_method (tests.test_http11.RequestTests.test_parse_non_ascii_method) ... ok test_parse_non_ascii_path (tests.test_http11.RequestTests.test_parse_non_ascii_path) ... ok test_parse_non_get_method (tests.test_http11.RequestTests.test_parse_non_get_method) ... ok test_parse_request_line_too_long (tests.test_http11.RequestTests.test_parse_request_line_too_long) ... ok test_parse_unsupported_protocol (tests.test_http11.RequestTests.test_parse_unsupported_protocol) ... ok test_serialize (tests.test_http11.RequestTests.test_serialize) ... ok test_parse (tests.test_http11.ResponseTests.test_parse) ... ok test_parse_body (tests.test_http11.ResponseTests.test_parse_body) ... ok test_parse_body_no_content (tests.test_http11.ResponseTests.test_parse_body_no_content) ... ok test_parse_body_not_modified (tests.test_http11.ResponseTests.test_parse_body_not_modified) ... ok test_parse_body_too_large (tests.test_http11.ResponseTests.test_parse_body_too_large) ... ok test_parse_body_with_chunked_transfer_encoding (tests.test_http11.ResponseTests.test_parse_body_with_chunked_transfer_encoding) ... ok test_parse_body_with_chunked_transfer_encoding_and_chunk_too_large (tests.test_http11.ResponseTests.test_parse_body_with_chunked_transfer_encoding_and_chunk_too_large) ... ok test_parse_body_with_chunked_transfer_encoding_and_chunk_way_too_large (tests.test_http11.ResponseTests.test_parse_body_with_chunked_transfer_encoding_and_chunk_way_too_large) ... ok test_parse_body_with_chunked_transfer_encoding_and_chunk_without_crlf (tests.test_http11.ResponseTests.test_parse_body_with_chunked_transfer_encoding_and_chunk_without_crlf) ... ok test_parse_body_with_content_length (tests.test_http11.ResponseTests.test_parse_body_with_content_length) ... ok test_parse_body_with_content_length_and_body_too_large (tests.test_http11.ResponseTests.test_parse_body_with_content_length_and_body_too_large) ... ok test_parse_body_with_content_length_and_body_way_too_large (tests.test_http11.ResponseTests.test_parse_body_with_content_length_and_body_way_too_large) ... ok test_parse_body_with_unsupported_transfer_encoding (tests.test_http11.ResponseTests.test_parse_body_with_unsupported_transfer_encoding) ... ok test_parse_empty (tests.test_http11.ResponseTests.test_parse_empty) ... ok test_parse_invalid_header (tests.test_http11.ResponseTests.test_parse_invalid_header) ... ok test_parse_invalid_reason (tests.test_http11.ResponseTests.test_parse_invalid_reason) ... ok test_parse_invalid_status_line (tests.test_http11.ResponseTests.test_parse_invalid_status_line) ... ok test_parse_iso_8859_1_reason (tests.test_http11.ResponseTests.test_parse_iso_8859_1_reason) ... ok test_parse_non_integer_status (tests.test_http11.ResponseTests.test_parse_non_integer_status) ... ok test_parse_non_three_digit_status (tests.test_http11.ResponseTests.test_parse_non_three_digit_status) ... ok test_parse_proxy_http10 (tests.test_http11.ResponseTests.test_parse_proxy_http10) ... ok test_parse_proxy_response_does_not_read_body (tests.test_http11.ResponseTests.test_parse_proxy_response_does_not_read_body) ... ok test_parse_proxy_unsupported_protocol (tests.test_http11.ResponseTests.test_parse_proxy_unsupported_protocol) ... ok test_parse_status_line_too_long (tests.test_http11.ResponseTests.test_parse_status_line_too_long) ... ok test_parse_unsupported_protocol (tests.test_http11.ResponseTests.test_parse_unsupported_protocol) ... ok test_serialize (tests.test_http11.ResponseTests.test_serialize) ... ok test_serialize_iso_8859_1_reason (tests.test_http11.ResponseTests.test_serialize_iso_8859_1_reason) ... ok test_serialize_with_body (tests.test_http11.ResponseTests.test_serialize_with_body) ... ok test_attribute_error (tests.test_imports.ImportsTests.test_attribute_error) ... ok test_dir (tests.test_imports.ImportsTests.test_dir) ... ok test_get_alias (tests.test_imports.ImportsTests.test_get_alias) ... ok test_get_deprecated_alias (tests.test_imports.ImportsTests.test_get_deprecated_alias) ... ok test_client_receives_binary (tests.test_protocol.BinaryTests.test_client_receives_binary) ... ok test_client_receives_binary_after_receiving_close (tests.test_protocol.BinaryTests.test_client_receives_binary_after_receiving_close) ... ok test_client_receives_binary_over_size_limit (tests.test_protocol.BinaryTests.test_client_receives_binary_over_size_limit) ... ok test_client_receives_fragmented_binary (tests.test_protocol.BinaryTests.test_client_receives_fragmented_binary) ... ok test_client_receives_fragmented_binary_over_size_limit (tests.test_protocol.BinaryTests.test_client_receives_fragmented_binary_over_size_limit) ... ok test_client_receives_unexpected_binary (tests.test_protocol.BinaryTests.test_client_receives_unexpected_binary) ... ok test_client_sends_binary (tests.test_protocol.BinaryTests.test_client_sends_binary) ... ok test_client_sends_binary_after_sending_close (tests.test_protocol.BinaryTests.test_client_sends_binary_after_sending_close) ... ok test_client_sends_fragmented_binary (tests.test_protocol.BinaryTests.test_client_sends_fragmented_binary) ... ok test_client_sends_unexpected_binary (tests.test_protocol.BinaryTests.test_client_sends_unexpected_binary) ... ok test_server_receives_binary (tests.test_protocol.BinaryTests.test_server_receives_binary) ... ok test_server_receives_binary_after_receiving_close (tests.test_protocol.BinaryTests.test_server_receives_binary_after_receiving_close) ... ok test_server_receives_binary_over_size_limit (tests.test_protocol.BinaryTests.test_server_receives_binary_over_size_limit) ... ok test_server_receives_fragmented_binary (tests.test_protocol.BinaryTests.test_server_receives_fragmented_binary) ... ok test_server_receives_fragmented_binary_over_size_limit (tests.test_protocol.BinaryTests.test_server_receives_fragmented_binary_over_size_limit) ... ok test_server_receives_unexpected_binary (tests.test_protocol.BinaryTests.test_server_receives_unexpected_binary) ... ok test_server_sends_binary (tests.test_protocol.BinaryTests.test_server_sends_binary) ... ok test_server_sends_binary_after_sending_close (tests.test_protocol.BinaryTests.test_server_sends_binary_after_sending_close) ... ok test_server_sends_fragmented_binary (tests.test_protocol.BinaryTests.test_server_sends_fragmented_binary) ... ok test_server_sends_unexpected_binary (tests.test_protocol.BinaryTests.test_server_sends_unexpected_binary) ... ok test_client_receives_close (tests.test_protocol.CloseTests.test_client_receives_close) ... ok test_client_receives_close_then_sends_close (tests.test_protocol.CloseTests.test_client_receives_close_then_sends_close) ... ok test_client_receives_close_with_code (tests.test_protocol.CloseTests.test_client_receives_close_with_code) ... ok test_client_receives_close_with_code_and_reason (tests.test_protocol.CloseTests.test_client_receives_close_with_code_and_reason) ... ok test_client_receives_close_with_non_utf8_reason (tests.test_protocol.CloseTests.test_client_receives_close_with_non_utf8_reason) ... ok test_client_receives_close_with_truncated_code (tests.test_protocol.CloseTests.test_client_receives_close_with_truncated_code) ... ok test_client_sends_close (tests.test_protocol.CloseTests.test_client_sends_close) ... ok test_client_sends_close_after_connection_is_closed (tests.test_protocol.CloseTests.test_client_sends_close_after_connection_is_closed) ... ok test_client_sends_close_then_receives_close (tests.test_protocol.CloseTests.test_client_sends_close_then_receives_close) ... ok test_client_sends_close_twice (tests.test_protocol.CloseTests.test_client_sends_close_twice) ... ok test_client_sends_close_with_code (tests.test_protocol.CloseTests.test_client_sends_close_with_code) ... ok test_client_sends_close_with_code_and_reason (tests.test_protocol.CloseTests.test_client_sends_close_with_code_and_reason) ... ok test_client_sends_close_with_reason_only (tests.test_protocol.CloseTests.test_client_sends_close_with_reason_only) ... ok test_close_code (tests.test_protocol.CloseTests.test_close_code) ... ok test_close_code_not_available (tests.test_protocol.CloseTests.test_close_code_not_available) ... ok test_close_code_not_available_yet (tests.test_protocol.CloseTests.test_close_code_not_available_yet) ... ok test_close_code_not_provided (tests.test_protocol.CloseTests.test_close_code_not_provided) ... ok test_close_reason (tests.test_protocol.CloseTests.test_close_reason) ... ok test_close_reason_not_available (tests.test_protocol.CloseTests.test_close_reason_not_available) ... ok test_close_reason_not_available_yet (tests.test_protocol.CloseTests.test_close_reason_not_available_yet) ... ok test_close_reason_not_provided (tests.test_protocol.CloseTests.test_close_reason_not_provided) ... ok test_server_receives_close (tests.test_protocol.CloseTests.test_server_receives_close) ... ok test_server_receives_close_then_sends_close (tests.test_protocol.CloseTests.test_server_receives_close_then_sends_close) ... ok test_server_receives_close_with_code (tests.test_protocol.CloseTests.test_server_receives_close_with_code) ... ok test_server_receives_close_with_code_and_reason (tests.test_protocol.CloseTests.test_server_receives_close_with_code_and_reason) ... ok test_server_receives_close_with_non_utf8_reason (tests.test_protocol.CloseTests.test_server_receives_close_with_non_utf8_reason) ... ok test_server_receives_close_with_truncated_code (tests.test_protocol.CloseTests.test_server_receives_close_with_truncated_code) ... ok test_server_sends_close (tests.test_protocol.CloseTests.test_server_sends_close) ... ok test_server_sends_close_after_connection_is_closed (tests.test_protocol.CloseTests.test_server_sends_close_after_connection_is_closed) ... ok test_server_sends_close_then_receives_close (tests.test_protocol.CloseTests.test_server_sends_close_then_receives_close) ... ok test_server_sends_close_twice (tests.test_protocol.CloseTests.test_server_sends_close_twice) ... ok test_server_sends_close_with_code (tests.test_protocol.CloseTests.test_server_sends_close_with_code) ... ok test_server_sends_close_with_code_and_reason (tests.test_protocol.CloseTests.test_server_sends_close_with_code_and_reason) ... ok test_server_sends_close_with_reason_only (tests.test_protocol.CloseTests.test_server_sends_close_with_reason_only) ... ok test_client_receives_close_then_sends_close (tests.test_protocol.ConnectionClosedTests.test_client_receives_close_then_sends_close) ... ok test_client_receives_eof (tests.test_protocol.ConnectionClosedTests.test_client_receives_eof) ... ok test_client_sends_close_then_receives_close (tests.test_protocol.ConnectionClosedTests.test_client_sends_close_then_receives_close) ... ok test_client_sends_close_then_receives_eof (tests.test_protocol.ConnectionClosedTests.test_client_sends_close_then_receives_eof) ... ok test_server_receives_close_then_sends_close (tests.test_protocol.ConnectionClosedTests.test_server_receives_close_then_sends_close) ... ok test_server_receives_eof (tests.test_protocol.ConnectionClosedTests.test_server_receives_eof) ... ok test_server_sends_close_then_receives_close (tests.test_protocol.ConnectionClosedTests.test_server_sends_close_then_receives_close) ... ok test_server_sends_close_then_receives_eof (tests.test_protocol.ConnectionClosedTests.test_server_sends_close_then_receives_eof) ... ok test_client_receives_continuation_after_receiving_close (tests.test_protocol.ContinuationTests.test_client_receives_continuation_after_receiving_close) ... ok test_client_receives_unexpected_continuation (tests.test_protocol.ContinuationTests.test_client_receives_unexpected_continuation) ... ok test_client_sends_continuation_after_sending_close (tests.test_protocol.ContinuationTests.test_client_sends_continuation_after_sending_close) ... ok test_client_sends_unexpected_continuation (tests.test_protocol.ContinuationTests.test_client_sends_unexpected_continuation) ... ok test_server_receives_continuation_after_receiving_close (tests.test_protocol.ContinuationTests.test_server_receives_continuation_after_receiving_close) ... ok test_server_receives_unexpected_continuation (tests.test_protocol.ContinuationTests.test_server_receives_unexpected_continuation) ... ok test_server_sends_continuation_after_sending_close (tests.test_protocol.ContinuationTests.test_server_sends_continuation_after_sending_close) ... ok test_server_sends_unexpected_continuation (tests.test_protocol.ContinuationTests.test_server_sends_unexpected_continuation) ... ok test_client_receives_data_after_eof (tests.test_protocol.EOFTests.test_client_receives_data_after_eof) ... ok test_client_receives_data_after_exception (tests.test_protocol.EOFTests.test_client_receives_data_after_exception) ... ok test_client_receives_data_and_eof_after_exception (tests.test_protocol.EOFTests.test_client_receives_data_and_eof_after_exception) ... ok test_client_receives_eof (tests.test_protocol.EOFTests.test_client_receives_eof) ... ok test_client_receives_eof_after_eof (tests.test_protocol.EOFTests.test_client_receives_eof_after_eof) ... ok test_client_receives_eof_after_exception (tests.test_protocol.EOFTests.test_client_receives_eof_after_exception) ... ok test_client_receives_eof_between_frames (tests.test_protocol.EOFTests.test_client_receives_eof_between_frames) ... ok test_client_receives_eof_inside_frame (tests.test_protocol.EOFTests.test_client_receives_eof_inside_frame) ... ok test_server_receives_data_after_eof (tests.test_protocol.EOFTests.test_server_receives_data_after_eof) ... ok test_server_receives_data_after_exception (tests.test_protocol.EOFTests.test_server_receives_data_after_exception) ... ok test_server_receives_data_and_eof_after_exception (tests.test_protocol.EOFTests.test_server_receives_data_and_eof_after_exception) ... ok test_server_receives_eof (tests.test_protocol.EOFTests.test_server_receives_eof) ... ok test_server_receives_eof_after_eof (tests.test_protocol.EOFTests.test_server_receives_eof_after_eof) ... ok test_server_receives_eof_after_exception (tests.test_protocol.EOFTests.test_server_receives_eof_after_exception) ... ok test_server_receives_eof_between_frames (tests.test_protocol.EOFTests.test_server_receives_eof_between_frames) ... ok test_server_receives_eof_inside_frame (tests.test_protocol.EOFTests.test_server_receives_eof_inside_frame) ... ok test_client_hits_internal_error_reading_frame (tests.test_protocol.ErrorTests.test_client_hits_internal_error_reading_frame) ... ok test_server_hits_internal_error_reading_frame (tests.test_protocol.ErrorTests.test_server_hits_internal_error_reading_frame) ... ok test_client_extension_decodes_frame (tests.test_protocol.ExtensionsTests.test_client_extension_decodes_frame) ... ok test_client_extension_encodes_frame (tests.test_protocol.ExtensionsTests.test_client_extension_encodes_frame) ... ok test_server_extension_decodes_frame (tests.test_protocol.ExtensionsTests.test_server_extension_decodes_frame) ... ok test_server_extension_encodes_frame (tests.test_protocol.ExtensionsTests.test_server_extension_encodes_frame) ... ok test_client_stops_processing_frames_after_fail (tests.test_protocol.FailTests.test_client_stops_processing_frames_after_fail) ... ok test_server_stops_processing_frames_after_fail (tests.test_protocol.FailTests.test_server_stops_processing_frames_after_fail) ... ok test_client_receive_close_in_fragmented_message (tests.test_protocol.FragmentationTests.test_client_receive_close_in_fragmented_message) ... ok test_client_receive_ping_pong_in_fragmented_message (tests.test_protocol.FragmentationTests.test_client_receive_ping_pong_in_fragmented_message) ... ok test_client_send_close_in_fragmented_message (tests.test_protocol.FragmentationTests.test_client_send_close_in_fragmented_message) ... ok test_client_send_ping_pong_in_fragmented_message (tests.test_protocol.FragmentationTests.test_client_send_ping_pong_in_fragmented_message) ... ok test_server_receive_close_in_fragmented_message (tests.test_protocol.FragmentationTests.test_server_receive_close_in_fragmented_message) ... ok test_server_receive_ping_pong_in_fragmented_message (tests.test_protocol.FragmentationTests.test_server_receive_ping_pong_in_fragmented_message) ... ok test_server_send_close_in_fragmented_message (tests.test_protocol.FragmentationTests.test_server_send_close_in_fragmented_message) ... ok test_server_send_ping_pong_in_fragmented_message (tests.test_protocol.FragmentationTests.test_server_send_ping_pong_in_fragmented_message) ... ok test_client_receives_masked_frame (tests.test_protocol.MaskingTests.test_client_receives_masked_frame) ... ok test_client_receives_unmasked_frame (tests.test_protocol.MaskingTests.test_client_receives_unmasked_frame) ... ok test_client_sends_masked_frame (tests.test_protocol.MaskingTests.test_client_sends_masked_frame) ... ok test_server_receives_masked_frame (tests.test_protocol.MaskingTests.test_server_receives_masked_frame) ... ok test_server_receives_unmasked_frame (tests.test_protocol.MaskingTests.test_server_receives_unmasked_frame) ... ok test_server_sends_unmasked_frame (tests.test_protocol.MaskingTests.test_server_sends_unmasked_frame) ... ok test_client_custom_logger (tests.test_protocol.MiscTests.test_client_custom_logger) ... ok test_client_default_logger (tests.test_protocol.MiscTests.test_client_default_logger) ... ok test_server_custom_logger (tests.test_protocol.MiscTests.test_server_custom_logger) ... ok test_server_default_logger (tests.test_protocol.MiscTests.test_server_default_logger) ... ok test_client_receives_fragmented_ping_frame (tests.test_protocol.PingTests.test_client_receives_fragmented_ping_frame) ... ok test_client_receives_ping (tests.test_protocol.PingTests.test_client_receives_ping) ... ok test_client_receives_ping_after_receiving_close (tests.test_protocol.PingTests.test_client_receives_ping_after_receiving_close) ... ok test_client_receives_ping_with_data (tests.test_protocol.PingTests.test_client_receives_ping_with_data) ... ok test_client_sends_fragmented_ping_frame (tests.test_protocol.PingTests.test_client_sends_fragmented_ping_frame) ... ok test_client_sends_ping (tests.test_protocol.PingTests.test_client_sends_ping) ... ok test_client_sends_ping_after_connection_is_closed (tests.test_protocol.PingTests.test_client_sends_ping_after_connection_is_closed) ... ok test_client_sends_ping_after_sending_close (tests.test_protocol.PingTests.test_client_sends_ping_after_sending_close) ... ok test_client_sends_ping_with_data (tests.test_protocol.PingTests.test_client_sends_ping_with_data) ... ok test_server_receives_fragmented_ping_frame (tests.test_protocol.PingTests.test_server_receives_fragmented_ping_frame) ... ok test_server_receives_ping (tests.test_protocol.PingTests.test_server_receives_ping) ... ok test_server_receives_ping_after_receiving_close (tests.test_protocol.PingTests.test_server_receives_ping_after_receiving_close) ... ok test_server_receives_ping_with_data (tests.test_protocol.PingTests.test_server_receives_ping_with_data) ... ok test_server_sends_fragmented_ping_frame (tests.test_protocol.PingTests.test_server_sends_fragmented_ping_frame) ... ok test_server_sends_ping (tests.test_protocol.PingTests.test_server_sends_ping) ... ok test_server_sends_ping_after_connection_is_closed (tests.test_protocol.PingTests.test_server_sends_ping_after_connection_is_closed) ... ok test_server_sends_ping_after_sending_close (tests.test_protocol.PingTests.test_server_sends_ping_after_sending_close) ... ok test_server_sends_ping_with_data (tests.test_protocol.PingTests.test_server_sends_ping_with_data) ... ok test_client_receives_fragmented_pong_frame (tests.test_protocol.PongTests.test_client_receives_fragmented_pong_frame) ... ok test_client_receives_pong (tests.test_protocol.PongTests.test_client_receives_pong) ... ok test_client_receives_pong_after_receiving_close (tests.test_protocol.PongTests.test_client_receives_pong_after_receiving_close) ... ok test_client_receives_pong_with_data (tests.test_protocol.PongTests.test_client_receives_pong_with_data) ... ok test_client_sends_fragmented_pong_frame (tests.test_protocol.PongTests.test_client_sends_fragmented_pong_frame) ... ok test_client_sends_pong (tests.test_protocol.PongTests.test_client_sends_pong) ... ok test_client_sends_pong_after_connection_is_closed (tests.test_protocol.PongTests.test_client_sends_pong_after_connection_is_closed) ... ok test_client_sends_pong_after_sending_close (tests.test_protocol.PongTests.test_client_sends_pong_after_sending_close) ... ok test_client_sends_pong_with_data (tests.test_protocol.PongTests.test_client_sends_pong_with_data) ... ok test_server_receives_fragmented_pong_frame (tests.test_protocol.PongTests.test_server_receives_fragmented_pong_frame) ... ok test_server_receives_pong (tests.test_protocol.PongTests.test_server_receives_pong) ... ok test_server_receives_pong_after_receiving_close (tests.test_protocol.PongTests.test_server_receives_pong_after_receiving_close) ... ok test_server_receives_pong_with_data (tests.test_protocol.PongTests.test_server_receives_pong_with_data) ... ok test_server_sends_fragmented_pong_frame (tests.test_protocol.PongTests.test_server_sends_fragmented_pong_frame) ... ok test_server_sends_pong (tests.test_protocol.PongTests.test_server_sends_pong) ... ok test_server_sends_pong_after_connection_is_closed (tests.test_protocol.PongTests.test_server_sends_pong_after_connection_is_closed) ... ok test_server_sends_pong_after_sending_close (tests.test_protocol.PongTests.test_server_sends_pong_after_sending_close) ... ok test_server_sends_pong_with_data (tests.test_protocol.PongTests.test_server_sends_pong_with_data) ... ok test_client_default (tests.test_protocol.TCPCloseTests.test_client_default) ... ok test_client_failed_connecting (tests.test_protocol.TCPCloseTests.test_client_failed_connecting) ... ok test_client_fails_connection (tests.test_protocol.TCPCloseTests.test_client_fails_connection) ... ok test_client_is_connecting (tests.test_protocol.TCPCloseTests.test_client_is_connecting) ... ok test_client_receives_close (tests.test_protocol.TCPCloseTests.test_client_receives_close) ... ok test_client_receives_close_then_eof (tests.test_protocol.TCPCloseTests.test_client_receives_close_then_eof) ... ok test_client_sends_close (tests.test_protocol.TCPCloseTests.test_client_sends_close) ... ok test_server_default (tests.test_protocol.TCPCloseTests.test_server_default) ... ok test_server_failed_connecting (tests.test_protocol.TCPCloseTests.test_server_failed_connecting) ... ok test_server_fails_connection (tests.test_protocol.TCPCloseTests.test_server_fails_connection) ... ok test_server_is_connecting (tests.test_protocol.TCPCloseTests.test_server_is_connecting) ... ok test_server_receives_close (tests.test_protocol.TCPCloseTests.test_server_receives_close) ... ok test_server_receives_close_then_eof (tests.test_protocol.TCPCloseTests.test_server_receives_close_then_eof) ... ok test_server_sends_close (tests.test_protocol.TCPCloseTests.test_server_sends_close) ... ok test_client_receives_fragmented_text (tests.test_protocol.TextTests.test_client_receives_fragmented_text) ... ok test_client_receives_fragmented_text_over_fragment_size_limit (tests.test_protocol.TextTests.test_client_receives_fragmented_text_over_fragment_size_limit) ... ok test_client_receives_fragmented_text_over_message_size_limit (tests.test_protocol.TextTests.test_client_receives_fragmented_text_over_message_size_limit) ... ok test_client_receives_fragmented_text_without_size_limit (tests.test_protocol.TextTests.test_client_receives_fragmented_text_without_size_limit) ... ok test_client_receives_text (tests.test_protocol.TextTests.test_client_receives_text) ... ok test_client_receives_text_after_receiving_close (tests.test_protocol.TextTests.test_client_receives_text_after_receiving_close) ... ok test_client_receives_text_over_size_limit (tests.test_protocol.TextTests.test_client_receives_text_over_size_limit) ... ok test_client_receives_text_without_size_limit (tests.test_protocol.TextTests.test_client_receives_text_without_size_limit) ... ok test_client_receives_unexpected_text (tests.test_protocol.TextTests.test_client_receives_unexpected_text) ... ok test_client_sends_fragmented_text (tests.test_protocol.TextTests.test_client_sends_fragmented_text) ... ok test_client_sends_text (tests.test_protocol.TextTests.test_client_sends_text) ... ok test_client_sends_text_after_sending_close (tests.test_protocol.TextTests.test_client_sends_text_after_sending_close) ... ok test_client_sends_unexpected_text (tests.test_protocol.TextTests.test_client_sends_unexpected_text) ... ok test_server_receives_fragmented_text (tests.test_protocol.TextTests.test_server_receives_fragmented_text) ... ok test_server_receives_fragmented_text_over_fragment_size_limit (tests.test_protocol.TextTests.test_server_receives_fragmented_text_over_fragment_size_limit) ... ok test_server_receives_fragmented_text_over_message_size_limit (tests.test_protocol.TextTests.test_server_receives_fragmented_text_over_message_size_limit) ... ok test_server_receives_fragmented_text_without_size_limit (tests.test_protocol.TextTests.test_server_receives_fragmented_text_without_size_limit) ... ok test_server_receives_text (tests.test_protocol.TextTests.test_server_receives_text) ... ok test_server_receives_text_after_receiving_close (tests.test_protocol.TextTests.test_server_receives_text_after_receiving_close) ... ok test_server_receives_text_over_size_limit (tests.test_protocol.TextTests.test_server_receives_text_over_size_limit) ... ok test_server_receives_text_without_size_limit (tests.test_protocol.TextTests.test_server_receives_text_without_size_limit) ... ok test_server_receives_unexpected_text (tests.test_protocol.TextTests.test_server_receives_unexpected_text) ... ok test_server_sends_fragmented_text (tests.test_protocol.TextTests.test_server_sends_fragmented_text) ... ok test_server_sends_text (tests.test_protocol.TextTests.test_server_sends_text) ... ok test_server_sends_text_after_sending_close (tests.test_protocol.TextTests.test_server_sends_text_after_sending_close) ... ok test_server_sends_unexpected_text (tests.test_protocol.TextTests.test_server_sends_unexpected_text) ... ok test_get_proxy (tests.test_proxy.ProxyTests.test_get_proxy) ... ok test_parse_invalid_proxies (tests.test_proxy.ProxyTests.test_parse_invalid_proxies) ... ok test_parse_proxy_user_info (tests.test_proxy.ProxyTests.test_parse_proxy_user_info) ... ok test_parse_valid_proxies (tests.test_proxy.ProxyTests.test_parse_valid_proxies) ... ok test_prepare_connect_request (tests.test_proxy.ProxyTests.test_prepare_connect_request) ... ok test_prepare_connect_request_with_user_agent (tests.test_proxy.ProxyTests.test_prepare_connect_request_with_user_agent) ... ok test_server_connection_class (tests.test_server.BackwardsCompatibilityTests.test_server_connection_class) ServerConnection is a deprecated alias for ServerProtocol. ... ok test_receive_request (tests.test_server.BasicTests.test_receive_request) Server receives a handshake request. ... ok test_send_response_after_accept (tests.test_server.BasicTests.test_send_response_after_accept) Server accepts a handshake request and sends a successful response. ... ok test_send_response_after_accept_failed (tests.test_server.BasicTests.test_send_response_after_accept_failed) Server accepts a handshake request but sends a failed response. ... ok test_send_response_after_reject (tests.test_server.BasicTests.test_send_response_after_reject) Server rejects a handshake request and sends a failed response. ... ok test_send_response_without_accept_or_reject (tests.test_server.BasicTests.test_send_response_without_accept_or_reject) Server doesn't accept or reject and sends a failed response. ... ok test_basic (tests.test_server.HandshakeTests.test_basic) Handshake succeeds. ... ok test_extension (tests.test_server.HandshakeTests.test_extension) Server enables an extension when the client offers it. ... ok test_extension_not_enabled (tests.test_server.HandshakeTests.test_extension_not_enabled) Server doesn't enable an extension when the client doesn't offer it. ... ok test_extension_not_supported (tests.test_server.HandshakeTests.test_extension_not_supported) Client offers an extension, but the server doesn't support it. ... ok test_invalid_connection (tests.test_server.HandshakeTests.test_invalid_connection) Handshake fails when the Connection header is invalid. ... ok test_invalid_key (tests.test_server.HandshakeTests.test_invalid_key) Handshake fails when the Sec-WebSocket-Key header is invalid. ... ok test_invalid_method (tests.test_server.HandshakeTests.test_invalid_method) Handshake fails when the request method isn't GET. ... ok test_invalid_protocol (tests.test_server.HandshakeTests.test_invalid_protocol) Handshake fails when the request protocol isn't HTTP/1.1. ... ok test_invalid_upgrade (tests.test_server.HandshakeTests.test_invalid_upgrade) Handshake fails when the Upgrade header is invalid. ... ok test_invalid_version (tests.test_server.HandshakeTests.test_invalid_version) Handshake fails when the Sec-WebSocket-Version header is invalid. ... ok test_missing_connection (tests.test_server.HandshakeTests.test_missing_connection) Handshake fails when the Connection header is missing. ... ok test_missing_key (tests.test_server.HandshakeTests.test_missing_key) Handshake fails when the Sec-WebSocket-Key header is missing. ... ok test_missing_upgrade (tests.test_server.HandshakeTests.test_missing_upgrade) Handshake fails when the Upgrade header is missing. ... ok test_missing_version (tests.test_server.HandshakeTests.test_missing_version) Handshake fails when the Sec-WebSocket-Version header is missing. ... ok test_multiple_extensions (tests.test_server.HandshakeTests.test_multiple_extensions) Server enables several extensions when the client offers them. ... ok test_multiple_extensions_order (tests.test_server.HandshakeTests.test_multiple_extensions_order) Server respects the order of extensions set in its configuration. ... ok test_multiple_key (tests.test_server.HandshakeTests.test_multiple_key) Handshake fails when the Sec-WebSocket-Key header is repeated. ... ok test_multiple_origin (tests.test_server.HandshakeTests.test_multiple_origin) Handshake fails when checking origins and the Origin header is repeated. ... ok test_multiple_subprotocols (tests.test_server.HandshakeTests.test_multiple_subprotocols) Server enables all of the subprotocols when the client offers them. ... ok test_multiple_supported_extension_parameters (tests.test_server.HandshakeTests.test_multiple_supported_extension_parameters) Server supports the same extension with several parameters. ... ok test_multiple_version (tests.test_server.HandshakeTests.test_multiple_version) Handshake fails when the Sec-WebSocket-Version header is repeated. ... ok test_no_extensions (tests.test_server.HandshakeTests.test_no_extensions) Handshake succeeds without extensions. ... ok test_no_extensions_supported (tests.test_server.HandshakeTests.test_no_extensions_supported) Client offers an extension, but the server doesn't support any. ... ok test_no_origin (tests.test_server.HandshakeTests.test_no_origin) Handshake fails when checking origin and the Origin header is missing. ... ok test_no_origin_accepted (tests.test_server.HandshakeTests.test_no_origin_accepted) Handshake succeeds when the lack of an origin is accepted. ... ok test_no_subprotocol_requested (tests.test_server.HandshakeTests.test_no_subprotocol_requested) Server expects a subprotocol, but the client doesn't offer it. ... ok test_no_subprotocols (tests.test_server.HandshakeTests.test_no_subprotocols) Handshake succeeds without subprotocols. ... ok test_no_subprotocols_supported (tests.test_server.HandshakeTests.test_no_subprotocols_supported) Client offers a subprotocol, but the server doesn't support any. ... ok test_origin (tests.test_server.HandshakeTests.test_origin) Handshake succeeds when checking origin. ... ok test_partial_match_origin_regex (tests.test_server.HandshakeTests.test_partial_match_origin_regex) Handshake fails when checking origins and the origin a partial match. ... ok test_select_no_subprotocol (tests.test_server.HandshakeTests.test_select_no_subprotocol) Server doesn't enable any subprotocol with select_subprotocol. ... ok test_select_subprotocol (tests.test_server.HandshakeTests.test_select_subprotocol) Server enables a subprotocol with select_subprotocol. ... ok test_subprotocol (tests.test_server.HandshakeTests.test_subprotocol) Server enables a subprotocol when the client offers it. ... ok test_supported_extension_parameters (tests.test_server.HandshakeTests.test_supported_extension_parameters) Client offers an extension with parameters supported by the server. ... ok test_supported_origin (tests.test_server.HandshakeTests.test_supported_origin) Handshake succeeds when checking origins and the origin is supported. ... ok test_supported_origin_regex (tests.test_server.HandshakeTests.test_supported_origin_regex) Handshake succeeds when checking origins and the origin is supported. ... ok test_supported_subprotocol (tests.test_server.HandshakeTests.test_supported_subprotocol) Server enables one of the subprotocols when the client offers it. ... ok test_truncated_key (tests.test_server.HandshakeTests.test_truncated_key) Handshake fails when the Sec-WebSocket-Key header is truncated. ... ok test_unexpected_origin (tests.test_server.HandshakeTests.test_unexpected_origin) Handshake fails when checking origin and the Origin header is unexpected. ... ok test_unsupported_extension_parameters (tests.test_server.HandshakeTests.test_unsupported_extension_parameters) Client offers an extension with parameters unsupported by the server. ... ok test_unsupported_origin (tests.test_server.HandshakeTests.test_unsupported_origin) Handshake fails when checking origins and the origin is unsupported. ... ok test_unsupported_origin_regex (tests.test_server.HandshakeTests.test_unsupported_origin_regex) Handshake fails when checking origins and the origin is unsupported. ... ok test_unsupported_subprotocol (tests.test_server.HandshakeTests.test_unsupported_subprotocol) Server expects one of the subprotocols, but the client doesn't offer any. ... ok test_bypass_handshake (tests.test_server.MiscTests.test_bypass_handshake) ServerProtocol bypasses the opening handshake. ... ok test_custom_logger (tests.test_server.MiscTests.test_custom_logger) ServerProtocol accepts a logger argument. ... ok test_receive_header_line_too_long (tests.test_server.RequestTests.test_receive_header_line_too_long) Server rejects a handshake request with a header line that's too long. ... ok test_receive_junk_request (tests.test_server.RequestTests.test_receive_junk_request) Server receives a junk handshake request. ... ok test_receive_no_request (tests.test_server.RequestTests.test_receive_no_request) Server receives no handshake request. ... ok test_receive_request (tests.test_server.RequestTests.test_receive_request) Server receives a handshake request. ... ok test_receive_request_line_too_long (tests.test_server.RequestTests.test_receive_request_line_too_long) Server rejects a handshake request with a request line that's too long. ... ok test_receive_too_many_headers (tests.test_server.RequestTests.test_receive_too_many_headers) Server rejects a handshake request with too many headers. ... ok test_receive_truncated_request (tests.test_server.RequestTests.test_receive_truncated_request) Server receives a truncated handshake request. ... ok test_accept_response (tests.test_server.ResponseTests.test_accept_response) accept() creates a successful opening handshake response. ... ok test_reject_response (tests.test_server.ResponseTests.test_reject_response) reject() creates a failed opening handshake response. ... ok test_reject_response_supports_int_status (tests.test_server.ResponseTests.test_reject_response_supports_int_status) reject() accepts an integer status code instead of an HTTPStatus. ... ok test_unexpected_error (tests.test_server.ResponseTests.test_unexpected_error) accept() handles unexpected errors and returns an error response. ... ok test_at_eof_after_feed_data (tests.test_streams.StreamReaderTests.test_at_eof_after_feed_data) ... ok test_at_eof_after_feed_eof (tests.test_streams.StreamReaderTests.test_at_eof_after_feed_eof) ... ok test_discard (tests.test_streams.StreamReaderTests.test_discard) ... ok test_feed_data_after_feed_data (tests.test_streams.StreamReaderTests.test_feed_data_after_feed_data) ... ok test_feed_data_after_feed_eof (tests.test_streams.StreamReaderTests.test_feed_data_after_feed_eof) ... ok test_feed_eof_after_feed_data (tests.test_streams.StreamReaderTests.test_feed_eof_after_feed_data) ... ok test_feed_eof_after_feed_eof (tests.test_streams.StreamReaderTests.test_feed_eof_after_feed_eof) ... ok test_read_exact (tests.test_streams.StreamReaderTests.test_read_exact) ... ok test_read_exact_need_more_data (tests.test_streams.StreamReaderTests.test_read_exact_need_more_data) ... ok test_read_exact_not_enough_data (tests.test_streams.StreamReaderTests.test_read_exact_not_enough_data) ... ok test_read_line (tests.test_streams.StreamReaderTests.test_read_line) ... ok test_read_line_need_more_data (tests.test_streams.StreamReaderTests.test_read_line_need_more_data) ... ok test_read_line_not_enough_data (tests.test_streams.StreamReaderTests.test_read_line_not_enough_data) ... ok test_read_line_too_long (tests.test_streams.StreamReaderTests.test_read_line_too_long) ... ok test_read_line_too_long_custom_exc_type (tests.test_streams.StreamReaderTests.test_read_line_too_long_custom_exc_type) ... ok test_read_line_too_long_custom_exc_type_need_more_data (tests.test_streams.StreamReaderTests.test_read_line_too_long_custom_exc_type_need_more_data) ... ok test_read_line_too_long_need_more_data (tests.test_streams.StreamReaderTests.test_read_line_too_long_need_more_data) ... ok test_read_to_eof (tests.test_streams.StreamReaderTests.test_read_to_eof) ... ok test_read_to_eof_at_eof (tests.test_streams.StreamReaderTests.test_read_to_eof_at_eof) ... ok test_read_to_eof_too_long (tests.test_streams.StreamReaderTests.test_read_to_eof_too_long) ... ok test_read_to_eof_too_long_custom_exc_type (tests.test_streams.StreamReaderTests.test_read_to_eof_too_long_custom_exc_type) ... ok test_parse_invalid_uris (tests.test_uri.URITests.test_parse_invalid_uris) ... ok test_parse_resource_name (tests.test_uri.URITests.test_parse_resource_name) ... ok test_parse_user_info (tests.test_uri.URITests.test_parse_user_info) ... ok test_parse_valid_uris (tests.test_uri.URITests.test_parse_valid_uris) ... ok test_apply_mask (tests.test_utils.ApplyMaskTests.test_apply_mask) ... ok test_apply_mask_check_input_types (tests.test_utils.ApplyMaskTests.test_apply_mask_check_input_types) ... ok test_apply_mask_check_mask_length (tests.test_utils.ApplyMaskTests.test_apply_mask_check_mask_length) ... ok test_apply_mask_memoryview (tests.test_utils.ApplyMaskTests.test_apply_mask_memoryview) ... ok test_apply_mask_non_contiguous_memoryview (tests.test_utils.ApplyMaskTests.test_apply_mask_non_contiguous_memoryview) ... ok test_af_inet (tests.test_utils.GetSocketNameAsStrTests.test_af_inet) ... ok test_af_inet6 (tests.test_utils.GetSocketNameAsStrTests.test_af_inet6) ... ok test_af_unix (tests.test_utils.GetSocketNameAsStrTests.test_af_unix) ... ok test_apply_mask (tests.test_utils.SpeedupsTests.test_apply_mask) ... ok test_apply_mask_check_input_types (tests.test_utils.SpeedupsTests.test_apply_mask_check_input_types) ... ok test_apply_mask_check_mask_length (tests.test_utils.SpeedupsTests.test_apply_mask_check_mask_length) ... ok test_apply_mask_memoryview (tests.test_utils.SpeedupsTests.test_apply_mask_memoryview) ... ok test_apply_mask_non_contiguous_memoryview (tests.test_utils.SpeedupsTests.test_apply_mask_non_contiguous_memoryview) ... ok test_accept_key (tests.test_utils.UtilsTests.test_accept_key) ... ok test_generate_key (tests.test_utils.UtilsTests.test_generate_key) ... ok test_additional_headers (tests.trio.test_client.ClientTests.test_additional_headers) Client can set additional headers with additional_headers. ... ok test_compression_is_enabled (tests.trio.test_client.ClientTests.test_compression_is_enabled) Client enables compression by default. ... ok test_connection_closed_during_handshake (tests.trio.test_client.ClientTests.test_connection_closed_during_handshake) Client reads EOF before receiving handshake response from server. ... ok test_context_manager (tests.trio.test_client.ClientTests.test_context_manager) Client connects to server and disconnects automatically. ... ok test_cross_origin_redirect (tests.trio.test_client.ClientTests.test_cross_origin_redirect) Client follows redirect to a secure URI on a different origin. ... ok test_cross_origin_redirect_strips_credentials (tests.trio.test_client.ClientTests.test_cross_origin_redirect_strips_credentials) Client strips credentials when following a cross-origin redirect. ... ok test_cross_origin_redirect_with_explicit_host_port (tests.trio.test_client.ClientTests.test_cross_origin_redirect_with_explicit_host_port) Client doesn't follow cross-origin redirect with an explicit host / port. ... ok test_custom_connection_factory (tests.trio.test_client.ClientTests.test_custom_connection_factory) Client runs ClientConnection factory provided in create_connection. ... ok test_disable_compression (tests.trio.test_client.ClientTests.test_disable_compression) Client disables compression. ... ok test_disable_keepalive (tests.trio.test_client.ClientTests.test_disable_keepalive) Client disables keepalive. ... ok test_existing_stream (tests.trio.test_client.ClientTests.test_existing_stream) Client connects using a pre-existing stream. ... ok test_explicit_host_port (tests.trio.test_client.ClientTests.test_explicit_host_port) Client connects using an explicit host / port. ... ok test_handshake_fails (tests.trio.test_client.ClientTests.test_handshake_fails) Client connects to server but the handshake fails. ... ok test_http_response (tests.trio.test_client.ClientTests.test_http_response) Client reads HTTP response. ... ok test_http_response_without_content_length (tests.trio.test_client.ClientTests.test_http_response_without_content_length) Client reads HTTP response without a Content-Length header. ... ok test_invalid_uri (tests.trio.test_client.ClientTests.test_invalid_uri) Client receives an invalid URI. ... ok test_junk_handshake_response (tests.trio.test_client.ClientTests.test_junk_handshake_response) Client closes the connection when receiving non-HTTP response from server. ... ok test_keepalive_is_enabled (tests.trio.test_client.ClientTests.test_keepalive_is_enabled) Client enables keepalive and measures latency by default. ... ok test_legacy_user_agent (tests.trio.test_client.ClientTests.test_legacy_user_agent) Client can override User-Agent header with additional_headers. ... ok test_logger (tests.trio.test_client.ClientTests.test_logger) Client accepts a logger argument. ... ok test_override_user_agent (tests.trio.test_client.ClientTests.test_override_user_agent) Client can override User-Agent header with user_agent_header. ... ok test_reconnect (tests.trio.test_client.ClientTests.test_reconnect) Client reconnects to server. ... ok test_reconnect_with_custom_process_exception (tests.trio.test_client.ClientTests.test_reconnect_with_custom_process_exception) Client runs process_exception to tell if errors are retryable or fatal. ... ok test_reconnect_with_custom_process_exception_raising_exception (tests.trio.test_client.ClientTests.test_reconnect_with_custom_process_exception_raising_exception) Client supports raising an exception in process_exception. ... ok test_redirect (tests.trio.test_client.ClientTests.test_redirect) Client follows redirect. ... ok test_redirect_limit (tests.trio.test_client.ClientTests.test_redirect_limit) Client stops following redirects after limit is reached. ... ok test_redirect_with_existing_stream (tests.trio.test_client.ClientTests.test_redirect_with_existing_stream) Client doesn't follow redirect when using a pre-existing stream. ... ok test_redirect_with_explicit_host_port (tests.trio.test_client.ClientTests.test_redirect_with_explicit_host_port) Client follows redirect with an explicit host / port. ... ok test_remove_user_agent (tests.trio.test_client.ClientTests.test_remove_user_agent) Client can remove User-Agent header with user_agent_header. ... ok test_same_origin_redirect_preserves_credentials (tests.trio.test_client.ClientTests.test_same_origin_redirect_preserves_credentials) Client preserves credentials when following a same-origin redirect. ... ok test_tcp_connection_fails (tests.trio.test_client.ClientTests.test_tcp_connection_fails) Client fails to connect to server. ... ok test_timeout_during_handshake (tests.trio.test_client.ClientTests.test_timeout_during_handshake) Client times out before receiving handshake response from server. ... ok test_invalid_subprotocol (tests.trio.test_client.ClientUsageErrorsTests.test_invalid_subprotocol) Client rejects single value of subprotocols. ... ok test_proxy_ssl_without_https_proxy (tests.trio.test_client.ClientUsageErrorsTests.test_proxy_ssl_without_https_proxy) Client rejects proxy_ssl when proxy isn't HTTPS. ... ok test_reentrancy (tests.trio.test_client.ClientUsageErrorsTests.test_reentrancy) Client isn't reentrant. ... ok test_ssl_without_secure_uri (tests.trio.test_client.ClientUsageErrorsTests.test_ssl_without_secure_uri) Client rejects ssl when URI isn't secure. ... ok test_unix_with_path_and_stream (tests.trio.test_client.ClientUsageErrorsTests.test_unix_with_path_and_stream) Unix client rejects path when stream is provided. ... ok test_unix_without_path_or_stream (tests.trio.test_client.ClientUsageErrorsTests.test_unix_without_path_or_stream) Unix client requires path when stream isn't provided. ... ok test_unsupported_compression (tests.trio.test_client.ClientUsageErrorsTests.test_unsupported_compression) Client rejects incorrect value of compression. ... ok test_unsupported_proxy (tests.trio.test_client.ClientUsageErrorsTests.test_unsupported_proxy) Client rejects unsupported proxy. ... ok test_authenticated_http_proxy (tests.trio.test_client.HTTPProxyClientTests.test_authenticated_http_proxy) Client connects to server through an authenticated HTTP proxy. ... skipped 'mitmproxy not installed' test_authenticated_http_proxy_error (tests.trio.test_client.HTTPProxyClientTests.test_authenticated_http_proxy_error) Client fails to authenticate to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy (tests.trio.test_client.HTTPProxyClientTests.test_http_proxy) Client connects to server through an HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_error (tests.trio.test_client.HTTPProxyClientTests.test_http_proxy_connection_error) Client receives no response when connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_failure (tests.trio.test_client.HTTPProxyClientTests.test_http_proxy_connection_failure) Client fails to connect to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_connection_timeout (tests.trio.test_client.HTTPProxyClientTests.test_http_proxy_connection_timeout) Client times out while connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_http_proxy_protocol_error (tests.trio.test_client.HTTPProxyClientTests.test_http_proxy_protocol_error) Client receives invalid data when connecting to the HTTP proxy. ... skipped 'mitmproxy not installed' test_https_proxy (tests.trio.test_client.HTTPProxyClientTests.test_https_proxy) Client connects to server through an HTTPS proxy. ... skipped 'mitmproxy not installed' test_https_proxy_invalid_proxy_certificate (tests.trio.test_client.HTTPProxyClientTests.test_https_proxy_invalid_proxy_certificate) Client rejects certificate when proxy certificate isn't trusted. ... skipped 'mitmproxy not installed' test_https_proxy_invalid_server_certificate (tests.trio.test_client.HTTPProxyClientTests.test_https_proxy_invalid_server_certificate) Client rejects certificate when proxy certificate isn't trusted. ... skipped 'mitmproxy not installed' test_https_proxy_server_hostname (tests.trio.test_client.HTTPProxyClientTests.test_https_proxy_server_hostname) Client sets server_hostname to the value of proxy_server_hostname. ... skipped 'mitmproxy not installed' test_secure_http_proxy (tests.trio.test_client.HTTPProxyClientTests.test_secure_http_proxy) Client connects to server securely through an HTTP proxy. ... skipped 'mitmproxy not installed' test_secure_https_proxy (tests.trio.test_client.HTTPProxyClientTests.test_secure_https_proxy) Client connects to server securely through an HTTPS proxy. ... skipped 'mitmproxy not installed' test_context_manager (tests.trio.test_client.SecureClientTests.test_context_manager) Client connects to server securely and disconnects automatically. ... ok test_cross_origin_redirect (tests.trio.test_client.SecureClientTests.test_cross_origin_redirect) Client follows redirect to a secure URI on a different origin. ... ok test_redirect_to_insecure_uri (tests.trio.test_client.SecureClientTests.test_redirect_to_insecure_uri) Client doesn't follow redirect from secure URI to non-secure URI. ... ok test_reject_invalid_server_certificate (tests.trio.test_client.SecureClientTests.test_reject_invalid_server_certificate) Client rejects certificate where server certificate isn't trusted. ... ok test_reject_invalid_server_hostname (tests.trio.test_client.SecureClientTests.test_reject_invalid_server_hostname) Client rejects certificate where server hostname doesn't match. ... ok test_set_server_hostname_explicitly (tests.trio.test_client.SecureClientTests.test_set_server_hostname_explicitly) Client sets server_hostname to the value provided in argument. ... ok test_set_server_hostname_implicitly (tests.trio.test_client.SecureClientTests.test_set_server_hostname_implicitly) Client sets server_hostname to the host in the WebSocket URI. ... ok test_authenticated_socks_proxy (tests.trio.test_client.SocksProxyClientTests.test_authenticated_socks_proxy) Client connects to server through an authenticated SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_authenticated_socks_proxy_error (tests.trio.test_client.SocksProxyClientTests.test_authenticated_socks_proxy_error) Client fails to authenticate to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_explicit_socks_proxy (tests.trio.test_client.SocksProxyClientTests.test_explicit_socks_proxy) Client connects to server through a SOCKS5 proxy set explicitly. ... skipped 'mitmproxy not installed' test_ignore_proxy_with_existing_stream (tests.trio.test_client.SocksProxyClientTests.test_ignore_proxy_with_existing_stream) Cli ent connects using a pre-existing stream. ... skipped 'mitmproxy not installed' test_secure_socks_proxy (tests.trio.test_client.SocksProxyClientTests.test_secure_socks_proxy) Client connects to server securely through a SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy (tests.trio.test_client.SocksProxyClientTests.test_socks_proxy) Client connects to server through a SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy_connection_failure (tests.trio.test_client.SocksProxyClientTests.test_socks_proxy_connection_failure) Client fails to connect to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_socks_proxy_connection_timeout (tests.trio.test_client.SocksProxyClientTests.test_socks_proxy_connection_timeout) Client times out while connecting to the SOCKS5 proxy. ... skipped 'mitmproxy not installed' test_context_manager (tests.trio.test_client.UnixClientTests.test_context_manager) Client connects to Unix server and disconnects automatically. ... ok test_cross_origin_redirect (tests.trio.test_client.UnixClientTests.test_cross_origin_redirect) Client doesn't follows redirect to a URI on a different origin. ... ok test_non_existing_path (tests.trio.test_client.UnixClientTests.test_non_existing_path) Client attempts to connect to a non-existing Unix socket path. ... ok test_pathlib_path (tests.trio.test_client.UnixClientTests.test_pathlib_path) Client accepts a pathlib.Path object as the path argument. ... ok test_secure_context_manager (tests.trio.test_client.UnixClientTests.test_secure_context_manager) Client connects to Unix server securely and disconnects automatically. ... ok test_set_host_header (tests.trio.test_client.UnixClientTests.test_set_host_header) Client sets the Host header to the host in the WebSocket URI. ... ok test_set_server_hostname (tests.trio.test_client.UnixClientTests.test_set_server_hostname) Client sets server_hostname to the host in the WebSocket URI. ... ok test_acknowledge_ping (tests.trio.test_connection.ClientConnectionTests.test_acknowledge_ping) ping is acknowledged by a pong with the same payload. ... ok test_acknowledge_ping_non_matching_pong (tests.trio.test_connection.ClientConnectionTests.test_acknowledge_ping_non_matching_pong) ping isn't acknowledged by a pong with a different payload. ... ok test_acknowledge_ping_on_close (tests.trio.test_connection.ClientConnectionTests.test_acknowledge_ping_on_close) ping with ack_on_close is acknowledged when the connection is closed. ... ok test_acknowledge_previous_ping (tests.trio.test_connection.ClientConnectionTests.test_acknowledge_previous_ping) ping is acknowledged by a pong for a later ping. ... ok test_aclose (tests.trio.test_connection.ClientConnectionTests.test_aclose) aclose sends a close frame. ... ok test_aclose_during_recv (tests.trio.test_connection.ClientConnectionTests.test_aclose_during_recv) aclose aborts recv when called concurrently with recv. ... ok test_aclose_during_recv_streaming (tests.trio.test_connection.ClientConnectionTests.test_aclose_during_recv_streaming) aclose aborts recv_streaming when called concurrently with recv_streaming. ... ok test_aclose_during_send (tests.trio.test_connection.ClientConnectionTests.test_aclose_during_send) aclose fails the connection when called concurrently with send. ... ok test_aclose_explicit_code_reason (tests.trio.test_connection.ClientConnectionTests.test_aclose_explicit_code_reason) aclose sends a close frame with a given code and reason. ... ok test_aclose_idempotency (tests.trio.test_connection.ClientConnectionTests.test_aclose_idempotency) aclose does nothing if the connection is already closed. ... ok test_aclose_no_timeout_waits_for_close_frame (tests.trio.test_connection.ClientConnectionTests.test_aclose_no_timeout_waits_for_close_frame) aclose without timeout waits for a close frame then EOF before returning. ... ok test_aclose_no_timeout_waits_for_connection_closed (tests.trio.test_connection.ClientConnectionTests.test_aclose_no_timeout_waits_for_connection_closed) aclose without timeout waits for EOF before returning. ... ok test_aclose_preserves_queued_messages (tests.trio.test_connection.ClientConnectionTests.test_aclose_preserves_queued_messages) aclose preserves messages buffered in the assembler. ... ok test_aclose_waits_for_close_frame (tests.trio.test_connection.ClientConnectionTests.test_aclose_waits_for_close_frame) aclose waits for a close frame then EOF before returning. ... ok test_aclose_waits_for_connection_closed (tests.trio.test_connection.ClientConnectionTests.test_aclose_waits_for_connection_closed) aclose waits for EOF before returning. ... ok test_aenter (tests.trio.test_connection.ClientConnectionTests.test_aenter) __aenter__ returns the connection itself. ... ok test_aexit (tests.trio.test_connection.ClientConnectionTests.test_aexit) __aexit__ closes the connection with code 1000. ... ok test_aexit_with_exception (tests.trio.test_connection.ClientConnectionTests.test_aexit_with_exception) __aexit__ with an exception closes the connection with code 1011. ... ok test_aiter_binary (tests.trio.test_connection.ClientConnectionTests.test_aiter_binary) __aiter__ yields binary messages. ... ok test_aiter_connection_closed_error (tests.trio.test_connection.ClientConnectionTests.test_aiter_connection_closed_error) __aiter__ raises ConnectionClosedError after an error. ... ok test_aiter_connection_closed_ok (tests.trio.test_connection.ClientConnectionTests.test_aiter_connection_closed_ok) __aiter__ terminates after a normal closure. ... ok test_aiter_mixed (tests.trio.test_connection.ClientConnectionTests.test_aiter_mixed) __aiter__ yields a mix of text and binary messages. ... ok test_aiter_text (tests.trio.test_connection.ClientConnectionTests.test_aiter_text) __aiter__ yields text messages. ... ok test_backpressure (tests.trio.test_connection.ClientConnectionTests.test_backpressure) Connection stops reading from the network when the buffer fills up. ... ok test_broadcast_binary (tests.trio.test_connection.ClientConnectionTests.test_broadcast_binary) broadcast broadcasts a binary message. ... ok test_broadcast_binary_from_str (tests.trio.test_connection.ClientConnectionTests.test_broadcast_binary_from_str) broadcast broadcasts a binary message from a str. ... ok test_broadcast_binary_reports_no_errors (tests.trio.test_connection.ClientConnectionTests.test_broadcast_binary_reports_no_errors) broadcast broadcasts a binary message without raising exceptions. ... ok test_broadcast_no_clients (tests.trio.test_connection.ClientConnectionTests.test_broadcast_no_clients) broadcast does nothing when called with an empty list of clients. ... ok test_broadcast_reports_connection_failing_to_send (tests.trio.test_connection.ClientConnectionTests.test_broadcast_reports_connection_failing_to_send) broadcast raises exceptions for connections failing to send. ... ok test_broadcast_reports_connection_with_send_blocked (tests.trio.test_connection.ClientConnectionTests.test_broadcast_reports_connection_with_send_blocked) broadcast raises exceptions for connections blocked in send. ... ok test_broadcast_skips_closed_connection (tests.trio.test_connection.ClientConnectionTests.test_broadcast_skips_closed_connection) broadcast ignores closed connections. ... ok test_broadcast_skips_closing_connection (tests.trio.test_connection.ClientConnectionTests.test_broadcast_skips_closing_connection) broadcast ignores closing connections. ... ok test_broadcast_skips_connection_failing_to_send (tests.trio.test_connection.ClientConnectionTests.test_broadcast_skips_connection_failing_to_send) broadcast logs a warning when a connection fails to send. ... ok test_broadcast_skips_connection_with_send_blocked (tests.trio.test_connection.ClientConnectionTests.test_broadcast_skips_connection_with_send_blocked) broadcast logs a warning when a connection is blocked in send. ... ok test_broadcast_text (tests.trio.test_connection.ClientConnectionTests.test_broadcast_text) broadcast broadcasts a text message. ... ok test_broadcast_text_from_bytes (tests.trio.test_connection.ClientConnectionTests.test_broadcast_text_from_bytes) broadcast broadcasts a text message from bytes. ... ok test_broadcast_text_reports_no_errors (tests.trio.test_connection.ClientConnectionTests.test_broadcast_text_reports_no_errors) broadcast broadcasts a text message without raising exceptions. ... ok test_broadcast_two_clients (tests.trio.test_connection.ClientConnectionTests.test_broadcast_two_clients) broadcast broadcasts a message to several clients. ... ok test_broadcast_type_error (tests.trio.test_connection.ClientConnectionTests.test_broadcast_type_error) broadcast raises TypeError when called with an unsupported type. ... ok test_close_code (tests.trio.test_connection.ClientConnectionTests.test_close_code) Connection has a close_code attribute. ... ok test_close_reason (tests.trio.test_connection.ClientConnectionTests.test_close_reason) Connection has a close_reason attribute. ... ok test_close_timeout (tests.trio.test_connection.ClientConnectionTests.test_close_timeout) close_timeout parameter configures close timeout. ... ok test_close_timeout_waiting_for_close_frame (tests.trio.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_close_frame) aclose times out if no close frame is received. ... ok test_close_timeout_waiting_for_connection_closed (tests.trio.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_connection_closed) aclose times out if EOF isn't received. ... ok test_disable_keepalive (tests.trio.test_connection.ClientConnectionTests.test_disable_keepalive) keepalive is disabled when ping_interval is None. ... ok test_id (tests.trio.test_connection.ClientConnectionTests.test_id) Connection has an id attribute. ... ok test_keepalive (tests.trio.test_connection.ClientConnectionTests.test_keepalive) keepalive sends pings at ping_interval and measures latency. ... ok test_keepalive_ignores_timeout (tests.trio.test_connection.ClientConnectionTests.test_keepalive_ignores_timeout) keepalive ignores timeouts if ping_timeout isn't set. ... ok test_keepalive_reports_errors (tests.trio.test_connection.ClientConnectionTests.test_keepalive_reports_errors) keepalive reports unexpected errors in logs. ... ok test_keepalive_terminates_when_sending_ping_fails (tests.trio.test_connection.ClientConnectionTests.test_keepalive_terminates_when_sending_ping_fails) keepalive task terminates when sending a ping fails. ... ok test_keepalive_terminates_while_sleeping (tests.trio.test_connection.ClientConnectionTests.test_keepalive_terminates_while_sleeping) keepalive task terminates while waiting to send a ping. ... ok test_keepalive_terminates_while_waiting_for_pong (tests.trio.test_connection.ClientConnectionTests.test_keepalive_terminates_while_waiting_for_pong) keepalive task terminates while waiting to receive a pong. ... ok test_keepalive_times_out (tests.trio.test_connection.ClientConnectionTests.test_keepalive_times_out) keepalive closes the connection if ping_timeout elapses. ... ok test_local_address (tests.trio.test_connection.ClientConnectionTests.test_local_address) Connection has a local_address attribute. ... ok test_logger (tests.trio.test_connection.ClientConnectionTests.test_logger) Connection has a logger attribute. ... ok test_max_queue (tests.trio.test_connection.ClientConnectionTests.test_max_queue) max_queue configures high-water mark of frames buffer. ... ok test_max_queue_none (tests.trio.test_connection.ClientConnectionTests.test_max_queue_none) max_queue disables high-water mark of frames buffer. ... ok test_max_queue_tuple (tests.trio.test_connection.ClientConnectionTests.test_max_queue_tuple) max_queue configures high-water and low-water marks of frames buffer. ... ok test_no_reference_cycle (tests.trio.test_connection.ClientConnectionTests.test_no_reference_cycle) Connection is garbage collected immediately after deletion. ... ok test_ping (tests.trio.test_connection.ClientConnectionTests.test_ping) ping sends a ping frame with a random payload. ... ok test_ping_duplicate_payload (tests.trio.test_connection.ClientConnectionTests.test_ping_duplicate_payload) ping rejects the same payload until receiving the pong. ... ok test_ping_explicit_binary (tests.trio.test_connection.ClientConnectionTests.test_ping_explicit_binary) ping sends a ping frame with a payload provided as binary. ... ok test_ping_explicit_text (tests.trio.test_connection.ClientConnectionTests.test_ping_explicit_text) ping sends a ping frame with a payload provided as text. ... ok test_ping_unsupported_type (tests.trio.test_connection.ClientConnectionTests.test_ping_unsupported_type) ping raises TypeError when called with an unsupported type. ... ok test_pong (tests.trio.test_connection.ClientConnectionTests.test_pong) pong sends a pong frame. ... ok test_pong_explicit_binary (tests.trio.test_connection.ClientConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ... ok test_pong_explicit_text (tests.trio.test_connection.ClientConnectionTests.test_pong_explicit_text) pong sends a pong frame with a payload provided as text. ... ok test_pong_unsupported_type (tests.trio.test_connection.ClientConnectionTests.test_pong_unsupported_type) pong raises TypeError when called with an unsupported type. ... ok test_recv_binary (tests.trio.test_connection.ClientConnectionTests.test_recv_binary) recv receives a binary message. ... ok test_recv_binary_as_text (tests.trio.test_connection.ClientConnectionTests.test_recv_binary_as_text) recv receives a binary message as a str. ... ok test_recv_cancellation_before_receiving (tests.trio.test_connection.ClientConnectionTests.test_recv_cancellation_before_receiving) recv can be canceled before receiving a message. ... ok test_recv_cancellation_while_receiving (tests.trio.test_connection.ClientConnectionTests.test_recv_cancellation_while_receiving) recv can be canceled while receiving a fragmented message. ... ok test_recv_connection_closed_error (tests.trio.test_connection.ClientConnectionTests.test_recv_connection_closed_error) recv raises ConnectionClosedError after an error. ... ok test_recv_connection_closed_ok (tests.trio.test_connection.ClientConnectionTests.test_recv_connection_closed_ok) recv raises ConnectionClosedOK after a normal closure. ... ok test_recv_during_recv (tests.trio.test_connection.ClientConnectionTests.test_recv_during_recv) recv raises ConcurrencyError when called concurrently. ... ok test_recv_during_recv_streaming (tests.trio.test_connection.ClientConnectionTests.test_recv_during_recv_streaming) recv raises ConcurrencyError when called concurrently with recv_streaming. ... ok test_recv_fragmented_binary (tests.trio.test_connection.ClientConnectionTests.test_recv_fragmented_binary) recv receives a fragmented binary message. ... ok test_recv_fragmented_text (tests.trio.test_connection.ClientConnectionTests.test_recv_fragmented_text) recv receives a fragmented text message. ... ok test_recv_non_utf8_text (tests.trio.test_connection.ClientConnectionTests.test_recv_non_utf8_text) recv receives a non-UTF-8 text message. ... ok test_recv_streaming_binary (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_binary) recv_streaming receives a binary message. ... ok test_recv_streaming_binary_as_str (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_binary_as_str) recv_streaming receives a binary message as a str. ... ok test_recv_streaming_cancellation_before_receiving (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_cancellation_before_receiving) recv_streaming can be canceled before receiving a message. ... ok test_recv_streaming_cancellation_while_receiving (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_cancellation_while_receiving) recv_streaming cannot be canceled while receiving a fragmented message. ... ok test_recv_streaming_connection_closed_error (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_connection_closed_error) recv_streaming raises ConnectionClosedError after an error. ... ok test_recv_streaming_connection_closed_ok (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_connection_closed_ok) recv_streaming raises ConnectionClosedOK after a normal closure. ... ok test_recv_streaming_during_recv (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_during_recv) recv_streaming raises ConcurrencyError when called concurrently with recv. ... ok test_recv_streaming_during_recv_streaming (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_during_recv_streaming) recv_streaming raises ConcurrencyError when called concurrently. ... ok test_recv_streaming_fragmented_binary (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_fragmented_binary) recv_streaming receives a fragmented binary message. ... ok test_recv_streaming_fragmented_text (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_fragmented_text) recv_streaming receives a fragmented text message. ... ok test_recv_streaming_non_utf8_text (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_non_utf8_text) recv_streaming receives a non-UTF-8 text message. ... ok test_recv_streaming_text (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_text) recv_streaming receives a text message. ... ok test_recv_streaming_text_as_bytes (tests.trio.test_connection.ClientConnectionTests.test_recv_streaming_text_as_bytes) recv_streaming receives a text message as bytes. ... ok test_recv_text (tests.trio.test_connection.ClientConnectionTests.test_recv_text) recv receives a text message. ... ok test_recv_text_as_bytes (tests.trio.test_connection.ClientConnectionTests.test_recv_text_as_bytes) recv receives a text message as bytes. ... ok test_remote_address (tests.trio.test_connection.ClientConnectionTests.test_remote_address) Connection has a remote_address attribute. ... ok test_request (tests.trio.test_connection.ClientConnectionTests.test_request) Connection has a request attribute. ... ok test_response (tests.trio.test_connection.ClientConnectionTests.test_response) Connection has a response attribute. ... ok test_send_async_fragmented_binary (tests.trio.test_connection.ClientConnectionTests.test_send_async_fragmented_binary) send sends a fragmented binary message asynchronously. ... ok test_send_async_fragmented_binary_from_str (tests.trio.test_connection.ClientConnectionTests.test_send_async_fragmented_binary_from_str) send sends a fragmented binary message from a str asynchronously. ... ok test_send_async_fragmented_text (tests.trio.test_connection.ClientConnectionTests.test_send_async_fragmented_text) send sends a fragmented text message asynchronously. ... ok test_send_async_fragmented_text_from_bytes (tests.trio.test_connection.ClientConnectionTests.test_send_async_fragmented_text_from_bytes) send sends a fragmented text message from bytes asynchronously. ... ok test_send_binary (tests.trio.test_connection.ClientConnectionTests.test_send_binary) send sends a binary message. ... ok test_send_binary_from_str (tests.trio.test_connection.ClientConnectionTests.test_send_binary_from_str) send sends a binary message from a str. ... ok test_send_connection_closed_error (tests.trio.test_connection.ClientConnectionTests.test_send_connection_closed_error) send raises ConnectionClosedError after an error. ... ok test_send_connection_closed_ok (tests.trio.test_connection.ClientConnectionTests.test_send_connection_closed_ok) send raises ConnectionClosedOK after a normal closure. ... ok test_send_dict (tests.trio.test_connection.ClientConnectionTests.test_send_dict) send raises TypeError when called with a dict. ... ok test_send_during_send (tests.trio.test_connection.ClientConnectionTests.test_send_during_send) send waits for a previous call to send to complete. ... ok test_send_empty_async_iterable (tests.trio.test_connection.ClientConnectionTests.test_send_empty_async_iterable) send does nothing when called with an empty async iterable. ... ok test_send_empty_iterable (tests.trio.test_connection.ClientConnectionTests.test_send_empty_iterable) send does nothing when called with an empty iterable. ... ok test_send_fragmented_binary (tests.trio.test_connection.ClientConnectionTests.test_send_fragmented_binary) send sends a fragmented binary message. ... ok test_send_fragmented_binary_from_str (tests.trio.test_connection.ClientConnectionTests.test_send_fragmented_binary_from_str) send sends a fragmented binary message from a str. ... ok test_send_fragmented_text (tests.trio.test_connection.ClientConnectionTests.test_send_fragmented_text) send sends a fragmented text message. ... ok test_send_fragmented_text_from_bytes (tests.trio.test_connection.ClientConnectionTests.test_send_fragmented_text_from_bytes) send sends a fragmented text message from bytes. ... ok test_send_mixed_async_iterable (tests.trio.test_connection.ClientConnectionTests.test_send_mixed_async_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_mixed_iterable (tests.trio.test_connection.ClientConnectionTests.test_send_mixed_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_text (tests.trio.test_connection.ClientConnectionTests.test_send_text) send sends a text message. ... ok test_send_text_from_bytes (tests.trio.test_connection.ClientConnectionTests.test_send_text_from_bytes) send sends a text message from bytes. ... ok test_send_unsupported_async_iterable (tests.trio.test_connection.ClientConnectionTests.test_send_unsupported_async_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_iterable (tests.trio.test_connection.ClientConnectionTests.test_send_unsupported_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_type (tests.trio.test_connection.ClientConnectionTests.test_send_unsupported_type) send raises TypeError when called with an unsupported type. ... ok test_state (tests.trio.test_connection.ClientConnectionTests.test_state) Connection has a state attribute. ... ok test_subprotocol (tests.trio.test_connection.ClientConnectionTests.test_subprotocol) Connection has a subprotocol attribute. ... ok test_unexpected_failure_in_recv_events (tests.trio.test_connection.ClientConnectionTests.test_unexpected_failure_in_recv_events) Unexpected internal error in recv_events() is correctly reported. ... ok test_unexpected_failure_in_send_context (tests.trio.test_connection.ClientConnectionTests.test_unexpected_failure_in_send_context) Unexpected internal error in send_context() is correctly reported. ... ok test_wait_closed (tests.trio.test_connection.ClientConnectionTests.test_wait_closed) wait_closed waits for the connection to close. ... ok test_writing_in_recv_events_fails (tests.trio.test_connection.ClientConnectionTests.test_writing_in_recv_events_fails) Error when responding to incoming frames is correctly reported. ... ok test_writing_in_send_context_fails (tests.trio.test_connection.ClientConnectionTests.test_writing_in_send_context_fails) Error when sending outgoing frame is correctly reported. ... ok test_acknowledge_ping (tests.trio.test_connection.ServerConnectionTests.test_acknowledge_ping) ping is acknowledged by a pong with the same payload. ... ok test_acknowledge_ping_non_matching_pong (tests.trio.test_connection.ServerConnectionTests.test_acknowledge_ping_non_matching_pong) ping isn't acknowledged by a pong with a different payload. ... ok test_acknowledge_ping_on_close (tests.trio.test_connection.ServerConnectionTests.test_acknowledge_ping_on_close) ping with ack_on_close is acknowledged when the connection is closed. ... ok test_acknowledge_previous_ping (tests.trio.test_connection.ServerConnectionTests.test_acknowledge_previous_ping) ping is acknowledged by a pong for a later ping. ... ok test_aclose (tests.trio.test_connection.ServerConnectionTests.test_aclose) aclose sends a close frame. ... ok test_aclose_during_recv (tests.trio.test_connection.ServerConnectionTests.test_aclose_during_recv) aclose aborts recv when called concurrently with recv. ... ok test_aclose_during_recv_streaming (tests.trio.test_connection.ServerConnectionTests.test_aclose_during_recv_streaming) aclose aborts recv_streaming when called concurrently with recv_streaming. ... ok test_aclose_during_send (tests.trio.test_connection.ServerConnectionTests.test_aclose_during_send) aclose fails the connection when called concurrently with send. ... ok test_aclose_explicit_code_reason (tests.trio.test_connection.ServerConnectionTests.test_aclose_explicit_code_reason) aclose sends a close frame with a given code and reason. ... ok test_aclose_idempotency (tests.trio.test_connection.ServerConnectionTests.test_aclose_idempotency) aclose does nothing if the connection is already closed. ... ok test_aclose_no_timeout_waits_for_close_frame (tests.trio.test_connection.ServerConnectionTests.test_aclose_no_timeout_waits_for_close_frame) aclose without timeout waits for a close frame then EOF before returning. ... ok test_aclose_no_timeout_waits_for_connection_closed (tests.trio.test_connection.ServerConnectionTests.test_aclose_no_timeout_waits_for_connection_closed) aclose without timeout waits for EOF before returning. ... skipped 'only relevant on the client-side' test_aclose_preserves_queued_messages (tests.trio.test_connection.ServerConnectionTests.test_aclose_preserves_queued_messages) aclose preserves messages buffered in the assembler. ... ok test_aclose_waits_for_close_frame (tests.trio.test_connection.ServerConnectionTests.test_aclose_waits_for_close_frame) aclose waits for a close frame then EOF before returning. ... ok test_aclose_waits_for_connection_closed (tests.trio.test_connection.ServerConnectionTests.test_aclose_waits_for_connection_closed) aclose waits for EOF before returning. ... skipped 'only relevant on the client-side' test_aenter (tests.trio.test_connection.ServerConnectionTests.test_aenter) __aenter__ returns the connection itself. ... ok test_aexit (tests.trio.test_connection.ServerConnectionTests.test_aexit) __aexit__ closes the connection with code 1000. ... ok test_aexit_with_exception (tests.trio.test_connection.ServerConnectionTests.test_aexit_with_exception) __aexit__ with an exception closes the connection with code 1011. ... ok test_aiter_binary (tests.trio.test_connection.ServerConnectionTests.test_aiter_binary) __aiter__ yields binary messages. ... ok test_aiter_connection_closed_error (tests.trio.test_connection.ServerConnectionTests.test_aiter_connection_closed_error) __aiter__ raises ConnectionClosedError after an error. ... ok test_aiter_connection_closed_ok (tests.trio.test_connection.ServerConnectionTests.test_aiter_connection_closed_ok) __aiter__ terminates after a normal closure. ... ok test_aiter_mixed (tests.trio.test_connection.ServerConnectionTests.test_aiter_mixed) __aiter__ yields a mix of text and binary messages. ... ok test_aiter_text (tests.trio.test_connection.ServerConnectionTests.test_aiter_text) __aiter__ yields text messages. ... ok test_backpressure (tests.trio.test_connection.ServerConnectionTests.test_backpressure) Connection stops reading from the network when the buffer fills up. ... ok test_broadcast_binary (tests.trio.test_connection.ServerConnectionTests.test_broadcast_binary) broadcast broadcasts a binary message. ... ok test_broadcast_binary_from_str (tests.trio.test_connection.ServerConnectionTests.test_broadcast_binary_from_str) broadcast broadcasts a binary message from a str. ... ok test_broadcast_binary_reports_no_errors (tests.trio.test_connection.ServerConnectionTests.test_broadcast_binary_reports_no_errors) broadcast broadcasts a binary message without raising exceptions. ... ok test_broadcast_no_clients (tests.trio.test_connection.ServerConnectionTests.test_broadcast_no_clients) broadcast does nothing when called with an empty list of clients. ... ok test_broadcast_reports_connection_failing_to_send (tests.trio.test_connection.ServerConnectionTests.test_broadcast_reports_connection_failing_to_send) broadcast raises exceptions for connections failing to send. ... ok test_broadcast_reports_connection_with_send_blocked (tests.trio.test_connection.ServerConnectionTests.test_broadcast_reports_connection_with_send_blocked) broadcast raises exceptions for connections blocked in send. ... ok test_broadcast_skips_closed_connection (tests.trio.test_connection.ServerConnectionTests.test_broadcast_skips_closed_connection) broadcast ignores closed connections. ... ok test_broadcast_skips_closing_connection (tests.trio.test_connection.ServerConnectionTests.test_broadcast_skips_closing_connection) broadcast ignores closing connections. ... ok test_broadcast_skips_connection_failing_to_send (tests.trio.test_connection.ServerConnectionTests.test_broadcast_skips_connection_failing_to_send) broadcast logs a warning when a connection fails to send. ... ok test_broadcast_skips_connection_with_send_blocked (tests.trio.test_connection.ServerConnectionTests.test_broadcast_skips_connection_with_send_blocked) broadcast logs a warning when a connection is blocked in send. ... ok test_broadcast_text (tests.trio.test_connection.ServerConnectionTests.test_broadcast_text) broadcast broadcasts a text message. ... ok test_broadcast_text_from_bytes (tests.trio.test_connection.ServerConnectionTests.test_broadcast_text_from_bytes) broadcast broadcasts a text message from bytes. ... ok test_broadcast_text_reports_no_errors (tests.trio.test_connection.ServerConnectionTests.test_broadcast_text_reports_no_errors) broadcast broadcasts a text message without raising exceptions. ... ok test_broadcast_two_clients (tests.trio.test_connection.ServerConnectionTests.test_broadcast_two_clients) broadcast broadcasts a message to several clients. ... ok test_broadcast_type_error (tests.trio.test_connection.ServerConnectionTests.test_broadcast_type_error) broadcast raises TypeError when called with an unsupported type. ... ok test_close_code (tests.trio.test_connection.ServerConnectionTests.test_close_code) Connection has a close_code attribute. ... ok test_close_reason (tests.trio.test_connection.ServerConnectionTests.test_close_reason) Connection has a close_reason attribute. ... ok test_close_timeout (tests.trio.test_connection.ServerConnectionTests.test_close_timeout) close_timeout parameter configures close timeout. ... ok test_close_timeout_waiting_for_close_frame (tests.trio.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_close_frame) aclose times out if no close frame is received. ... ok test_close_timeout_waiting_for_connection_closed (tests.trio.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_connection_closed) aclose times out if EOF isn't received. ... skipped 'only relevant on the client-side' test_disable_keepalive (tests.trio.test_connection.ServerConnectionTests.test_disable_keepalive) keepalive is disabled when ping_interval is None. ... ok test_id (tests.trio.test_connection.ServerConnectionTests.test_id) Connection has an id attribute. ... ok test_keepalive (tests.trio.test_connection.ServerConnectionTests.test_keepalive) keepalive sends pings at ping_interval and measures latency. ... ok test_keepalive_ignores_timeout (tests.trio.test_connection.ServerConnectionTests.test_keepalive_ignores_timeout) keepalive ignores timeouts if ping_timeout isn't set. ... ok test_keepalive_reports_errors (tests.trio.test_connection.ServerConnectionTests.test_keepalive_reports_errors) keepalive reports unexpected errors in logs. ... ok test_keepalive_terminates_when_sending_ping_fails (tests.trio.test_connection.ServerConnectionTests.test_keepalive_terminates_when_sending_ping_fails) keepalive task terminates when sending a ping fails. ... ok test_keepalive_terminates_while_sleeping (tests.trio.test_connection.ServerConnectionTests.test_keepalive_terminates_while_sleeping) keepalive task terminates while waiting to send a ping. ... ok test_keepalive_terminates_while_waiting_for_pong (tests.trio.test_connection.ServerConnectionTests.test_keepalive_terminates_while_waiting_for_pong) keepalive task terminates while waiting to receive a pong. ... ok test_keepalive_times_out (tests.trio.test_connection.ServerConnectionTests.test_keepalive_times_out) keepalive closes the connection if ping_timeout elapses. ... ok test_local_address (tests.trio.test_connection.ServerConnectionTests.test_local_address) Connection has a local_address attribute. ... ok test_logger (tests.trio.test_connection.ServerConnectionTests.test_logger) Connection has a logger attribute. ... ok test_max_queue (tests.trio.test_connection.ServerConnectionTests.test_max_queue) max_queue configures high-water mark of frames buffer. ... ok test_max_queue_none (tests.trio.test_connection.ServerConnectionTests.test_max_queue_none) max_queue disables high-water mark of frames buffer. ... ok test_max_queue_tuple (tests.trio.test_connection.ServerConnectionTests.test_max_queue_tuple) max_queue configures high-water and low-water marks of frames buffer. ... ok test_no_reference_cycle (tests.trio.test_connection.ServerConnectionTests.test_no_reference_cycle) Connection is garbage collected immediately after deletion. ... ok test_ping (tests.trio.test_connection.ServerConnectionTests.test_ping) ping sends a ping frame with a random payload. ... ok test_ping_duplicate_payload (tests.trio.test_connection.ServerConnectionTests.test_ping_duplicate_payload) ping rejects the same payload until receiving the pong. ... ok test_ping_explicit_binary (tests.trio.test_connection.ServerConnectionTests.test_ping_explicit_binary) ping sends a ping frame with a payload provided as binary. ... ok test_ping_explicit_text (tests.trio.test_connection.ServerConnectionTests.test_ping_explicit_text) ping sends a ping frame with a payload provided as text. ... ok test_ping_unsupported_type (tests.trio.test_connection.ServerConnectionTests.test_ping_unsupported_type) ping raises TypeError when called with an unsupported type. ... ok test_pong (tests.trio.test_connection.ServerConnectionTests.test_pong) pong sends a pong frame. ... ok test_pong_explicit_binary (tests.trio.test_connection.ServerConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ... ok test_pong_explicit_text (tests.trio.test_connection.ServerConnectionTests.test_pong_explicit_text) pong sends a pong frame with a payload provided as text. ... ok test_pong_unsupported_type (tests.trio.test_connection.ServerConnectionTests.test_pong_unsupported_type) pong raises TypeError when called with an unsupported type. ... ok test_recv_binary (tests.trio.test_connection.ServerConnectionTests.test_recv_binary) recv receives a binary message. ... ok test_recv_binary_as_text (tests.trio.test_connection.ServerConnectionTests.test_recv_binary_as_text) recv receives a binary message as a str. ... ok test_recv_cancellation_before_receiving (tests.trio.test_connection.ServerConnectionTests.test_recv_cancellation_before_receiving) recv can be canceled before receiving a message. ... ok test_recv_cancellation_while_receiving (tests.trio.test_connection.ServerConnectionTests.test_recv_cancellation_while_receiving) recv can be canceled while receiving a fragmented message. ... ok test_recv_connection_closed_error (tests.trio.test_connection.ServerConnectionTests.test_recv_connection_closed_error) recv raises ConnectionClosedError after an error. ... ok test_recv_connection_closed_ok (tests.trio.test_connection.ServerConnectionTests.test_recv_connection_closed_ok) recv raises ConnectionClosedOK after a normal closure. ... ok test_recv_during_recv (tests.trio.test_connection.ServerConnectionTests.test_recv_during_recv) recv raises ConcurrencyError when called concurrently. ... ok test_recv_during_recv_streaming (tests.trio.test_connection.ServerConnectionTests.test_recv_during_recv_streaming) recv raises ConcurrencyError when called concurrently with recv_streaming. ... ok test_recv_fragmented_binary (tests.trio.test_connection.ServerConnectionTests.test_recv_fragmented_binary) recv receives a fragmented binary message. ... ok test_recv_fragmented_text (tests.trio.test_connection.ServerConnectionTests.test_recv_fragmented_text) recv receives a fragmented text message. ... ok test_recv_non_utf8_text (tests.trio.test_connection.ServerConnectionTests.test_recv_non_utf8_text) recv receives a non-UTF-8 text message. ... ok test_recv_streaming_binary (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_binary) recv_streaming receives a binary message. ... ok test_recv_streaming_binary_as_str (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_binary_as_str) recv_streaming receives a binary message as a str. ... ok test_recv_streaming_cancellation_before_receiving (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_cancellation_before_receiving) recv_streaming can be canceled before receiving a message. ... ok test_recv_streaming_cancellation_while_receiving (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_cancellation_while_receiving) recv_streaming cannot be canceled while receiving a fragmented message. ... ok test_recv_streaming_connection_closed_error (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_connection_closed_error) recv_streaming raises ConnectionClosedError after an error. ... ok test_recv_streaming_connection_closed_ok (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_connection_closed_ok) recv_streaming raises ConnectionClosedOK after a normal closure. ... ok test_recv_streaming_during_recv (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_during_recv) recv_streaming raises ConcurrencyError when called concurrently with recv. ... ok test_recv_streaming_during_recv_streaming (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_during_recv_streaming) recv_streaming raises ConcurrencyError when called concurrently. ... ok test_recv_streaming_fragmented_binary (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_fragmented_binary) recv_streaming receives a fragmented binary message. ... ok test_recv_streaming_fragmented_text (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_fragmented_text) recv_streaming receives a fragmented text message. ... ok test_recv_streaming_non_utf8_text (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_non_utf8_text) recv_streaming receives a non-UTF-8 text message. ... ok test_recv_streaming_text (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_text) recv_streaming receives a text message. ... ok test_recv_streaming_text_as_bytes (tests.trio.test_connection.ServerConnectionTests.test_recv_streaming_text_as_bytes) recv_streaming receives a text message as bytes. ... ok test_recv_text (tests.trio.test_connection.ServerConnectionTests.test_recv_text) recv receives a text message. ... ok test_recv_text_as_bytes (tests.trio.test_connection.ServerConnectionTests.test_recv_text_as_bytes) recv receives a text message as bytes. ... ok test_remote_address (tests.trio.test_connection.ServerConnectionTests.test_remote_address) Connection has a remote_address attribute. ... ok test_request (tests.trio.test_connection.ServerConnectionTests.test_request) Connection has a request attribute. ... ok test_response (tests.trio.test_connection.ServerConnectionTests.test_response) Connection has a response attribute. ... ok test_send_async_fragmented_binary (tests.trio.test_connection.ServerConnectionTests.test_send_async_fragmented_binary) send sends a fragmented binary message asynchronously. ... ok test_send_async_fragmented_binary_from_str (tests.trio.test_connection.ServerConnectionTests.test_send_async_fragmented_binary_from_str) send sends a fragmented binary message from a str asynchronously. ... ok test_send_async_fragmented_text (tests.trio.test_connection.ServerConnectionTests.test_send_async_fragmented_text) send sends a fragmented text message asynchronously. ... ok test_send_async_fragmented_text_from_bytes (tests.trio.test_connection.ServerConnectionTests.test_send_async_fragmented_text_from_bytes) send sends a fragmented text message from bytes asynchronously. ... ok test_send_binary (tests.trio.test_connection.ServerConnectionTests.test_send_binary) send sends a binary message. ... ok test_send_binary_from_str (tests.trio.test_connection.ServerConnectionTests.test_send_binary_from_str) send sends a binary message from a str. ... ok test_send_connection_closed_error (tests.trio.test_connection.ServerConnectionTests.test_send_connection_closed_error) send raises ConnectionClosedError after an error. ... ok test_send_connection_closed_ok (tests.trio.test_connection.ServerConnectionTests.test_send_connection_closed_ok) send raises ConnectionClosedOK after a normal closure. ... ok test_send_dict (tests.trio.test_connection.ServerConnectionTests.test_send_dict) send raises TypeError when called with a dict. ... ok test_send_during_send (tests.trio.test_connection.ServerConnectionTests.test_send_during_send) send waits for a previous call to send to complete. ... ok test_send_empty_async_iterable (tests.trio.test_connection.ServerConnectionTests.test_send_empty_async_iterable) send does nothing when called with an empty async iterable. ... ok test_send_empty_iterable (tests.trio.test_connection.ServerConnectionTests.test_send_empty_iterable) send does nothing when called with an empty iterable. ... ok test_send_fragmented_binary (tests.trio.test_connection.ServerConnectionTests.test_send_fragmented_binary) send sends a fragmented binary message. ... ok test_send_fragmented_binary_from_str (tests.trio.test_connection.ServerConnectionTests.test_send_fragmented_binary_from_str) send sends a fragmented binary message from a str. ... ok test_send_fragmented_text (tests.trio.test_connection.ServerConnectionTests.test_send_fragmented_text) send sends a fragmented text message. ... ok test_send_fragmented_text_from_bytes (tests.trio.test_connection.ServerConnectionTests.test_send_fragmented_text_from_bytes) send sends a fragmented text message from bytes. ... ok test_send_mixed_async_iterable (tests.trio.test_connection.ServerConnectionTests.test_send_mixed_async_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_mixed_iterable (tests.trio.test_connection.ServerConnectionTests.test_send_mixed_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_text (tests.trio.test_connection.ServerConnectionTests.test_send_text) send sends a text message. ... ok test_send_text_from_bytes (tests.trio.test_connection.ServerConnectionTests.test_send_text_from_bytes) send sends a text message from bytes. ... ok test_send_unsupported_async_iterable (tests.trio.test_connection.ServerConnectionTests.test_send_unsupported_async_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_iterable (tests.trio.test_connection.ServerConnectionTests.test_send_unsupported_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_type (tests.trio.test_connection.ServerConnectionTests.test_send_unsupported_type) send raises TypeError when called with an unsupported type. ... ok test_state (tests.trio.test_connection.ServerConnectionTests.test_state) Connection has a state attribute. ... ok test_subprotocol (tests.trio.test_connection.ServerConnectionTests.test_subprotocol) Connection has a subprotocol attribute. ... ok test_unexpected_failure_in_recv_events (tests.trio.test_connection.ServerConnectionTests.test_unexpected_failure_in_recv_events) Unexpected internal error in recv_events() is correctly reported. ... ok test_unexpected_failure_in_send_context (tests.trio.test_connection.ServerConnectionTests.test_unexpected_failure_in_send_context) Unexpected internal error in send_context() is correctly reported. ... ok test_wait_closed (tests.trio.test_connection.ServerConnectionTests.test_wait_closed) wait_closed waits for the connection to close. ... ok test_writing_in_recv_events_fails (tests.trio.test_connection.ServerConnectionTests.test_writing_in_recv_events_fails) Error when responding to incoming frames is correctly reported. ... ok test_writing_in_send_context_fails (tests.trio.test_connection.ServerConnectionTests.test_writing_in_send_context_fails) Error when sending outgoing frame is correctly reported. ... ok test_cancel_get_after_first_frame (tests.trio.test_messages.AssemblerTests.test_cancel_get_after_first_frame) get can be canceled safely after reading the first frame. ... ok test_cancel_get_before_first_frame (tests.trio.test_messages.AssemblerTests.test_cancel_get_before_first_frame) get can be canceled safely before reading the first frame. ... ok test_cancel_get_iter_after_first_frame (tests.trio.test_messages.AssemblerTests.test_cancel_get_iter_after_first_frame) get_iter cannot be canceled after reading the first frame. ... ok test_cancel_get_iter_before_first_frame (tests.trio.test_messages.AssemblerTests.test_cancel_get_iter_before_first_frame) get_iter can be canceled safely before reading the first frame. ... ok test_close_is_idempotent (tests.trio.test_messages.AssemblerTests.test_close_is_idempotent) close can be called multiple times safely. ... ok test_get_binary_message_already_received (tests.trio.test_messages.AssemblerTests.test_get_binary_message_already_received) get returns a binary message that is already received. ... ok test_get_binary_message_not_received_yet (tests.trio.test_messages.AssemblerTests.test_get_binary_message_not_received_yet) get returns a binary message when it is received. ... ok test_get_decoded_binary_message (tests.trio.test_messages.AssemblerTests.test_get_decoded_binary_message) get returns a binary message with UTF-8 decoding. ... ok test_get_does_not_resume_reading (tests.trio.test_messages.AssemblerTests.test_get_does_not_resume_reading) get does not resume reading when the low-water mark is unset. ... ok test_get_encoded_text_message (tests.trio.test_messages.AssemblerTests.test_get_encoded_text_message) get returns a text message without UTF-8 decoding. ... ok test_get_fails_after_close (tests.trio.test_messages.AssemblerTests.test_get_fails_after_close) get raises EOFError after close is called. ... ok test_get_fails_when_get_is_running (tests.trio.test_messages.AssemblerTests.test_get_fails_when_get_is_running) get cannot be called concurrently. ... ok test_get_fails_when_get_iter_is_running (tests.trio.test_messages.AssemblerTests.test_get_fails_when_get_iter_is_running) get cannot be called concurrently with get_iter. ... ok test_get_fails_when_interrupted_by_close (tests.trio.test_messages.AssemblerTests.test_get_fails_when_interrupted_by_close) get raises EOFError when close is called. ... ok test_get_fragmented_binary_message_already_received (tests.trio.test_messages.AssemblerTests.test_get_fragmented_binary_message_already_received) get reassembles a fragmented binary message that is already received. ... ok test_get_fragmented_binary_message_being_received (tests.trio.test_messages.AssemblerTests.test_get_fragmented_binary_message_being_received) get reassembles a fragmented binary message that is partially received. ... ok test_get_fragmented_binary_message_not_received_yet (tests.trio.test_messages.AssemblerTests.test_get_fragmented_binary_message_not_received_yet) get reassembles a fragmented binary message when it is received. ... ok test_get_fragmented_text_message_already_received (tests.trio.test_messages.AssemblerTests.test_get_fragmented_text_message_already_received) get reassembles a fragmented a text message that is already received. ... ok test_get_fragmented_text_message_being_received (tests.trio.test_messages.AssemblerTests.test_get_fragmented_text_message_being_received) get reassembles a fragmented text message that is partially received. ... ok test_get_fragmented_text_message_not_received_yet (tests.trio.test_messages.AssemblerTests.test_get_fragmented_text_message_not_received_yet) get reassembles a fragmented text message when it is received. ... ok test_get_iter_binary_message_already_received (tests.trio.test_messages.AssemblerTests.test_get_iter_binary_message_already_received) get_iter yields a binary message that is already received. ... ok test_get_iter_binary_message_not_received_yet (tests.trio.test_messages.AssemblerTests.test_get_iter_binary_message_not_received_yet) get_iter yields a binary message when it is received. ... ok test_get_iter_decoded_binary_message (tests.trio.test_messages.AssemblerTests.test_get_iter_decoded_binary_message) get_iter yields a binary message with UTF-8 decoding. ... ok test_get_iter_does_not_resume_reading (tests.trio.test_messages.AssemblerTests.test_get_iter_does_not_resume_reading) get_iter does not resume reading when the low-water mark is unset. ... ok test_get_iter_encoded_text_message (tests.trio.test_messages.AssemblerTests.test_get_iter_encoded_text_message) get_iter yields a text message without UTF-8 decoding. ... ok test_get_iter_fails_after_close (tests.trio.test_messages.AssemblerTests.test_get_iter_fails_after_close) get_iter raises EOFError after close is called. ... ok test_get_iter_fails_when_get_is_running (tests.trio.test_messages.AssemblerTests.test_get_iter_fails_when_get_is_running) get_iter cannot be called concurrently with get. ... ok test_get_iter_fails_when_get_iter_is_running (tests.trio.test_messages.AssemblerTests.test_get_iter_fails_when_get_iter_is_running) get_iter cannot be called concurrently. ... ok test_get_iter_fails_when_interrupted_by_close (tests.trio.test_messages.AssemblerTests.test_get_iter_fails_when_interrupted_by_close) get_iter raises EOFError when close is called. ... ok test_get_iter_fragmented_binary_message_already_received (tests.trio.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_already_received) get_iter yields a fragmented binary message that is already received. ... ok test_get_iter_fragmented_binary_message_being_received (tests.trio.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_being_received) get_iter yields a fragmented binary message that is partially received. ... ok test_get_iter_fragmented_binary_message_not_received_yet (tests.trio.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_not_received_yet) get_iter yields a fragmented binary message when it is received. ... ok test_get_iter_fragmented_text_message_already_received (tests.trio.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_already_received) get_iter yields a fragmented text message that is already received. ... ok test_get_iter_fragmented_text_message_being_received (tests.trio.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_being_received) get_iter yields a fragmented text message that is partially received. ... ok test_get_iter_fragmented_text_message_not_received_yet (tests.trio.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_not_received_yet) get_iter yields a fragmented text message when it is received. ... ok test_get_iter_partially_queued_fragmented_message_after_close (tests.trio.test_messages.AssemblerTests.test_get_iter_partially_queued_fragmented_message_after_close) get_iter yields a partial fragmented message after close is called. ... ok test_get_iter_queued_fragmented_message_after_close (tests.trio.test_messages.AssemblerTests.test_get_iter_queued_fragmented_message_after_close) get_iter yields a fragmented message after close is called. ... ok test_get_iter_queued_message_after_close (tests.trio.test_messages.AssemblerTests.test_get_iter_queued_message_after_close) get_iter yields a message after close is called. ... ok test_get_iter_resumes_reading (tests.trio.test_messages.AssemblerTests.test_get_iter_resumes_reading) get_iter resumes reading when queue goes below the low-water mark. ... ok test_get_iter_text_message_already_received (tests.trio.test_messages.AssemblerTests.test_get_iter_text_message_already_received) get_iter yields a text message that is already received. ... ok test_get_iter_text_message_not_received_yet (tests.trio.test_messages.AssemblerTests.test_get_iter_text_message_not_received_yet) get_iter yields a text message when it is received. ... ok test_get_partially_queued_fragmented_message_after_close (tests.trio.test_messages.AssemblerTests.test_get_partially_queued_fragmented_message_after_close) get raises EOFError on a partial fragmented message after close is called. ... ok test_get_queued_fragmented_message_after_close (tests.trio.test_messages.AssemblerTests.test_get_queued_fragmented_message_after_close) get reassembles a fragmented message after close is called. ... ok test_get_queued_message_after_close (tests.trio.test_messages.AssemblerTests.test_get_queued_message_after_close) get returns a message after close is called. ... ok test_get_resumes_reading (tests.trio.test_messages.AssemblerTests.test_get_resumes_reading) get resumes reading when queue goes below the low-water mark. ... ok test_get_text_message_already_received (tests.trio.test_messages.AssemblerTests.test_get_text_message_already_received) get returns a text message that is already received. ... ok test_get_text_message_not_received_yet (tests.trio.test_messages.AssemblerTests.test_get_text_message_not_received_yet) get returns a text message when it is received. ... ok test_put_does_not_pause_reading (tests.trio.test_messages.AssemblerTests.test_put_does_not_pause_reading) put does not pause reading when the high-water mark is unset. ... ok test_put_fails_after_close (tests.trio.test_messages.AssemblerTests.test_put_fails_after_close) put raises EOFError after close is called. ... ok test_put_pauses_reading (tests.trio.test_messages.AssemblerTests.test_put_pauses_reading) put pauses reading when queue goes above the high-water mark. ... ok test_set_high_and_low_water_marks (tests.trio.test_messages.AssemblerTests.test_set_high_and_low_water_marks) high and low set the high-water and low-water marks. ... ok test_set_high_water_mark (tests.trio.test_messages.AssemblerTests.test_set_high_water_mark) high sets the high-water and low-water marks. ... ok test_set_invalid_high_water_mark (tests.trio.test_messages.AssemblerTests.test_set_invalid_high_water_mark) high must be a non-negative integer. ... ok test_set_invalid_low_water_mark (tests.trio.test_messages.AssemblerTests.test_set_invalid_low_water_mark) low must be higher than high. ... ok test_set_low_water_mark (tests.trio.test_messages.AssemblerTests.test_set_low_water_mark) low sets the low-water and high-water marks. ... ok test_unset_high_and_low_water_marks (tests.trio.test_messages.AssemblerTests.test_unset_high_and_low_water_marks) High-water and low-water marks are unset. ... ok test_custom_router_factory (tests.trio.test_router.RouterTests.test_custom_router_factory) Router supports a custom router factory. ... ok test_force_redirect_server_name (tests.trio.test_router.RouterTests.test_force_redirect_server_name) Router redirects connections to the host declared in server_name. ... ok test_force_secure_redirect (tests.trio.test_router.RouterTests.test_force_secure_redirect) Router redirects ws:// connections to a wss:// URI when ssl=True. ... ok test_not_found (tests.trio.test_router.RouterTests.test_not_found) Router rejects requests to unknown paths with an HTTP 404 error. ... ok test_process_request_coroutine_returning_none (tests.trio.test_router.RouterTests.test_process_request_coroutine_returning_none) Router supports a process_request coroutine returning None. ... ok test_process_request_coroutine_returning_response (tests.trio.test_router.RouterTests.test_process_request_coroutine_returning_response) Router supports a process_request coroutine returning a response. ... ok test_process_request_function_returning_none (tests.trio.test_router.RouterTests.test_process_request_function_returning_none) Router supports a process_request function returning None. ... ok test_process_request_function_returning_response (tests.trio.test_router.RouterTests.test_process_request_function_returning_response) Router supports a process_request function returning a response. ... ok test_redirect (tests.trio.test_router.RouterTests.test_redirect) Router redirects connections according to redirect_to. ... ok test_route_with_query_string (tests.trio.test_router.RouterTests.test_route_with_query_string) Router ignores query strings when matching paths. ... ok test_router_matches_paths_and_extracts_parameters (tests.trio.test_router.RouterTests.test_router_matches_paths_and_extracts_parameters) Router matches paths and extracts parameters. ... ok test_secure_redirect (tests.trio.test_router.RouterTests.test_secure_redirect) Router redirects connections according to redirect_to when TLS is enabled. ... ok test_authorization_with_incorrect_password (tests.trio.test_server.BasicAuthTests.test_authorization_with_incorrect_password) basic_auth rejects client with incorrect password. ... ok test_authorization_with_unknown_username (tests.trio.test_server.BasicAuthTests.test_authorization_with_unknown_username) basic_auth rejects client with unknown username. ... ok test_bad_credentials (tests.trio.test_server.BasicAuthTests.test_bad_credentials) basic_auth receives an unsupported credentials argument. ... ok test_bad_list_of_credentials (tests.trio.test_server.BasicAuthTests.test_bad_list_of_credentials) basic_auth receives an unsupported credentials argument. ... ok test_check_credentials_coroutine (tests.trio.test_server.BasicAuthTests.test_check_credentials_coroutine) basic_auth accepts a check_credentials coroutine. ... ok test_check_credentials_function (tests.trio.test_server.BasicAuthTests.test_check_credentials_function) basic_auth accepts a check_credentials function. ... ok test_list_of_credentials (tests.trio.test_server.BasicAuthTests.test_list_of_credentials) basic_auth accepts a list of hard coded credentials. ... ok test_missing_authorization (tests.trio.test_server.BasicAuthTests.test_missing_authorization) basic_auth rejects client without credentials. ... ok test_unsupported_authorization (tests.trio.test_server.BasicAuthTests.test_unsupported_authorization) basic_auth rejects client with unsupported credentials. ... ok test_valid_authorization (tests.trio.test_server.BasicAuthTests.test_valid_authorization) basic_auth authenticates client with HTTP Basic Authentication. ... ok test_with_credentials_and_check_credentials (tests.trio.test_server.BasicAuthTests.test_with_credentials_and_check_credentials) basic_auth requires only one of credentials and check_credentials. ... ok test_without_credentials_or_check_credentials (tests.trio.test_server.BasicAuthTests.test_without_credentials_or_check_credentials) basic_auth requires either credentials or check_credentials. ... ok test_connection (tests.trio.test_server.SecureServerTests.test_connection) Server receives secure connection from client. ... ok test_connection_closed_during_tls_handshake (tests.trio.test_server.SecureServerTests.test_connection_closed_during_tls_handshake) Server reads EOF before receiving TLS handshake request from client. ... ok test_timeout_during_tls_handshake (tests.trio.test_server.SecureServerTests.test_timeout_during_tls_handshake) Server times out before receiving TLS handshake request from client. ... ok test_aclose_closes_open_connections (tests.trio.test_server.ServerTests.test_aclose_closes_open_connections) Server closes open connections with close code 1001. ... ok test_aclose_closes_open_connections_with_code_and_reason (tests.trio.test_server.ServerTests.test_aclose_closes_open_connections_with_code_and_reason) Server closes open connections with custom code and reason. ... ok test_aclose_keeps_connections_open (tests.trio.test_server.ServerTests.test_aclose_keeps_connections_open) Server waits for client to close open connections. ... ok test_aclose_keeps_handlers_running (tests.trio.test_server.ServerTests.test_aclose_keeps_handlers_running) Server waits for connection handlers to terminate. ... ok test_aclose_rejects_connecting_connections (tests.trio.test_server.ServerTests.test_aclose_rejects_connecting_connections) Server rejects connecting connections with HTTP 503. ... ok test_aclose_stops_accepting_connections (tests.trio.test_server.ServerTests.test_aclose_stops_accepting_connections) Server stops accepting connections. ... ok test_async_process_request_raises_exception (tests.trio.test_server.ServerTests.test_async_process_request_raises_exception) Server returns an error if async process_request raises an exception. ... ok test_async_process_request_returns_none (tests.trio.test_server.ServerTests.test_async_process_request_returns_none) Server runs async process_request and continues the handshake. ... ok test_async_process_request_returns_response (tests.trio.test_server.ServerTests.test_async_process_request_returns_response) Server aborts handshake if async process_request returns a response. ... ok test_async_process_response_modifies_response (tests.trio.test_server.ServerTests.test_async_process_response_modifies_response) Server runs async process_response and modifies the handshake response. ... ok test_async_process_response_raises_exception (tests.trio.test_server.ServerTests.test_async_process_response_raises_exception) Server returns an error if async process_response raises an exception. ... ok test_async_process_response_replaces_response (tests.trio.test_server.ServerTests.test_async_process_response_replaces_response) Server runs async process_response and replaces the handshake response. ... ok test_async_process_response_returns_none (tests.trio.test_server.ServerTests.test_async_process_response_returns_none) Server runs async process_response but keeps the handshake response. ... ok test_compression_is_enabled (tests.trio.test_server.ServerTests.test_compression_is_enabled) Server enables compression by default. ... ok test_connection (tests.trio.test_server.ServerTests.test_connection) Server receives connection from client and the handshake succeeds. ... ok test_connection_closed_before_handshake_request (tests.trio.test_server.ServerTests.test_connection_closed_before_handshake_request) Server reads EOF before receiving handshake request from client. ... ok test_connection_closed_before_handshake_response (tests.trio.test_server.ServerTests.test_connection_closed_before_handshake_response) Server reads EOF before sending handshake response to client. ... ok test_connection_handler_raises_exception (tests.trio.test_server.ServerTests.test_connection_handler_raises_exception) Connection handler raises an exception. ... ok test_connection_handler_returns (tests.trio.test_server.ServerTests.test_connection_handler_returns) Connection handler returns. ... ok test_connections (tests.trio.test_server.ServerTests.test_connections) Server provides a connections property. ... ok test_context_manager_closes_server (tests.trio.test_server.ServerTests.test_context_manager_closes_server) Server closes when exiting context manager. ... ok test_custom_connection_factory (tests.trio.test_server.ServerTests.test_custom_connection_factory) Server runs ServerConnection factory provided in create_connection. ... ok test_disable_compression (tests.trio.test_server.ServerTests.test_disable_compression) Server disables compression. ... ok test_disable_keepalive (tests.trio.test_server.ServerTests.test_disable_keepalive) Server disables keepalive. ... ok test_existing_listeners (tests.trio.test_server.ServerTests.test_existing_listeners) Server receives connection using pre-existing listeners. ... ok test_handshake_fails (tests.trio.test_server.ServerTests.test_handshake_fails) Server receives connection from client but the handshake fails. ... ok test_junk_handshake_request (tests.trio.test_server.ServerTests.test_junk_handshake_request) Server closes the connection when receiving non-HTTP request from client. ... ok test_keepalive_is_enabled (tests.trio.test_server.ServerTests.test_keepalive_is_enabled) Server enables keepalive and measures latency. ... ok test_listeners (tests.trio.test_server.ServerTests.test_listeners) Server provides a listeners attribute. ... ok test_logger (tests.trio.test_server.ServerTests.test_logger) Server accepts a logger argument. ... ok test_override_serve_header (tests.trio.test_server.ServerTests.test_override_serve_header) Server can override Server header with server_header. ... ok test_process_request_raises_exception (tests.trio.test_server.ServerTests.test_process_request_raises_exception) Server returns an error if process_request raises an exception. ... ok test_process_request_returns_none (tests.trio.test_server.ServerTests.test_process_request_returns_none) Server runs process_request and continues the handshake. ... ok test_process_request_returns_response (tests.trio.test_server.ServerTests.test_process_request_returns_response) Server aborts handshake if process_request returns a response. ... ok test_process_response_modifies_response (tests.trio.test_server.ServerTests.test_process_response_modifies_response) Server runs process_response and modifies the handshake response. ... ok test_process_response_raises_exception (tests.trio.test_server.ServerTests.test_process_response_raises_exception) Server returns an error if process_response raises an exception. ... ok test_process_response_replaces_response (tests.trio.test_server.ServerTests.test_process_response_replaces_response) Server runs process_response and replaces the handshake response. ... ok test_process_response_returns_none (tests.trio.test_server.ServerTests.test_process_response_returns_none) Server runs process_response but keeps the handshake response. ... ok test_remove_server_header (tests.trio.test_server.ServerTests.test_remove_server_header) Server can remove Server header with server_header. ... ok test_select_subprotocol (tests.trio.test_server.ServerTests.test_select_subprotocol) Server selects a subprotocol with the select_subprotocol callable. ... ok test_select_subprotocol_raises_exception (tests.trio.test_server.ServerTests.test_select_subprotocol_raises_exception) Server returns an error if select_subprotocol raises an exception. ... ok test_select_subprotocol_rejects_handshake (tests.trio.test_server.ServerTests.test_select_subprotocol_rejects_handshake) Server rejects handshake if select_subprotocol raises NegotiationError. ... ok test_timeout_before_handshake_request (tests.trio.test_server.ServerTests.test_timeout_before_handshake_request) Server times out before receiving handshake request from client. ... ok test_backlog_and_listeners (tests.trio.test_server.ServerUsageErrorsTests.test_backlog_and_listeners) Server rejects backlog when listeners is provided. ... ok test_host_and_listeners (tests.trio.test_server.ServerUsageErrorsTests.test_host_and_listeners) Server rejects host when listeners is provided. ... ok test_invalid_subprotocol (tests.trio.test_server.ServerUsageErrorsTests.test_invalid_subprotocol) Server rejects single value of subprotocols. ... ok test_missing_port (tests.trio.test_server.ServerUsageErrorsTests.test_missing_port) Server requires port. ... ok test_port_and_listeners (tests.trio.test_server.ServerUsageErrorsTests.test_port_and_listeners) Server rejects port when listeners is provided. ... ok test_unsupported_compression (tests.trio.test_server.ServerUsageErrorsTests.test_unsupported_compression) Server rejects incorrect value of compression. ... ok test_race_events (tests.trio.test_utils.UtilsTests.test_race_events) ... ok test_race_events_canceled (tests.trio.test_utils.UtilsTests.test_race_events_canceled) ... ok test_race_events_no_events (tests.trio.test_utils.UtilsTests.test_race_events_no_events) ... ok ====================================================================== ERROR: test_client_connect_canceled_during_handshake (tests.legacy.test_client_server.ClientServerTests.test_client_connect_canceled_during_handshake) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.14/asyncio/tasks.py", line 488, in wait_for return await fut ^^^^^^^^^ File "/build/python-websockets/src/websockets-17.1/test-env/lib/python3.14/site-packages/websockets/legacy/server.py", line 808, in wait_closed await asyncio.shield(self.closed_waiter) asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/build/python-websockets/src/websockets-17.1/tests/legacy/test_client_server.py", line 120, in _decorate with manager(self, *args, **kwargs): ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/contextlib.py", line 148, in __exit__ next(self.gen) ~~~~^^^^^^^^^^ File "/build/python-websockets/src/websockets-17.1/tests/legacy/test_client_server.py", line 94, in temp_test_server test.stop_server() ~~~~~~~~~~~~~~~~^^ File "/build/python-websockets/src/websockets-17.1/tests/legacy/test_client_server.py", line 274, in stop_server self.loop.run_until_complete( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ asyncio.wait_for(self.server.wait_closed(), timeout=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.14/asyncio/base_events.py", line 720, in run_until_complete return future.result() ~~~~~~~~~~~~~^^ File "/usr/lib/python3.14/asyncio/tasks.py", line 487, in wait_for async with timeouts.timeout(timeout): ~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.14/asyncio/timeouts.py", line 115, in __aexit__ raise TimeoutError from exc_val TimeoutError ---------------------------------------------------------------------- Ran 2570 tests in 223.286s FAILED (errors=1, skipped=75) ==> ERROR:(B A failure occurred in check().(B  Aborting...(B ]3008;end=b4d3ee33f4884b0ab5e913407f44c47b\[!p]104\[?7h]3008;end=c1cf09c752dd48a9a358512149922779\==> ERROR:(B Build failed, check /var/lib/archbuild/extra-riscv64/felix-5/build(B [?12l[?25h[?12l[?25h]3008;end=8494cb7e9b794f44ab10c20a272f569d\[?12l[?25hreceiving incremental file list python-websockets-17.1-1-riscv64-build.log python-websockets-17.1-1-riscv64-check.log sent 62 bytes received 39,065 bytes 26,084.67 bytes/sec total size is 394,399 speedup is 10.08