MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / test_sockets_partial

Method test_sockets_partial

test/test_sockets.py:310–316  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

308 @requires_python_dev_packages
309 @requires_dev_dependency('ws')
310 def test_sockets_partial(self):
311 for harness in [
312 WebsockifyServerHarness(test_file('sockets/test_sockets_partial_server.c'), [], 49180),
313 CompiledServerHarness(test_file('sockets/test_sockets_partial_server.c'), [], 49181),
314 ]:
315 with harness:
316 self.btest_exit('sockets/test_sockets_partial_client.c', assert_returncode=165, cflags=[f'-DSOCKK={harness.listen_port}'])
317
318 @no_windows('This test is Unix-specific.')
319 @requires_python_dev_packages

Callers

nothing calls this directly

Calls 4

test_fileFunction · 0.85
btest_exitMethod · 0.80

Tested by

no test coverage detected