CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
test_remote_module.Live Class Reference
Inheritance diagram for test_remote_module.Live:
[legend]
Collaboration diagram for test_remote_module.Live:
[legend]

Public Member Functions

 setUpClass (cls)
 tearDownClass (cls)
 setUp (self)
 tearDown (self)
 keep (self, c)
 runner (self)
 feed (self, n, base)
 test_a_attach_triggers_post_retrieve_query (self)
 test_b_bad_key_and_scope_refused (self)
 test_c_websocket_and_udp_modules (self)
 test_d_takeover_by_same_device_then_detach (self)
 test_e_lease_expiry_and_reattach (self)

Public Attributes

 dir = tempfile.mkdtemp(prefix="py-remotemodule-", dir=os.environ.get("PSY_TEST_DIR"))
 log = open(os.path.join(cls.dir, "psyclone.log"), "w")
 proc
 key = probe.machine_key("pybot", "modules.attach.Asr,modules.attach.Tts,modules.attach.Vad")
 tts_key = probe.machine_key("pytts", "modules.attach.Tts")
list clients = []

Detailed Description

Definition at line 178 of file test_remote_module.py.

Member Function Documentation

◆ feed()

◆ keep()

◆ runner()

test_remote_module.Live.runner ( self)
Handlers off the reader thread, so they may call the blocking operations.

Definition at line 224 of file test_remote_module.py.

◆ setUp()

test_remote_module.Live.setUp ( self)

Definition at line 213 of file test_remote_module.py.

◆ setUpClass()

test_remote_module.Live.setUpClass ( cls)

Definition at line 180 of file test_remote_module.py.

◆ tearDown()

test_remote_module.Live.tearDown ( self)

◆ tearDownClass()

test_remote_module.Live.tearDownClass ( cls)

Definition at line 203 of file test_remote_module.py.

References cmlabs::MessageIndex.dir, dir, log, and proc.

◆ test_a_attach_triggers_post_retrieve_query()

◆ test_b_bad_key_and_scope_refused()

◆ test_c_websocket_and_udp_modules()

◆ test_d_takeover_by_same_device_then_detach()

◆ test_e_lease_expiry_and_reattach()

test_remote_module.Live.test_e_lease_expiry_and_reattach ( self)

Definition at line 320 of file test_remote_module.py.

References keep(), and test_remote_module.wait_for().

Member Data Documentation

◆ clients

list test_remote_module.Live.clients = []

◆ dir

test_remote_module.Live.dir = tempfile.mkdtemp(prefix="py-remotemodule-", dir=os.environ.get("PSY_TEST_DIR"))

◆ key

test_remote_module.Live.key = probe.machine_key("pybot", "modules.attach.Asr,modules.attach.Tts,modules.attach.Vad")

◆ log

test_remote_module.Live.log = open(os.path.join(cls.dir, "psyclone.log"), "w")

◆ proc

test_remote_module.Live.proc
Initial value:
= subprocess.Popen([BIN, "spec=" + spec, "port=%d" % NODE], cwd=os.path.dirname(os.path.abspath(BIN)),
stdout=cls.log, stderr=subprocess.STDOUT)

Definition at line 186 of file test_remote_module.py.

Referenced by tearDownClass(), and test_remote_module_dynamic.Live.tearDownClass().

◆ tts_key

test_remote_module.Live.tts_key = probe.machine_key("pytts", "modules.attach.Tts")

The documentation for this class was generated from the following file: