cis_interface.examples.tests package¶
Submodules¶
cis_interface.examples.tests.test_SaM module¶
cis_interface.examples.tests.test_ascii_io module¶
-
class
cis_interface.examples.tests.test_ascii_io.
TestExampleAsciiIO
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the AsciiIO example.
-
example_name
= 'ascii_io'¶
-
cis_interface.examples.tests.test_fakeplant module¶
-
class
cis_interface.examples.tests.test_fakeplant.
TestExampleFakeplant
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the Fakeplant example.
-
example_name
= 'fakeplant'¶
-
cis_interface.examples.tests.test_formatted_io1 module¶
cis_interface.examples.tests.test_formatted_io2 module¶
cis_interface.examples.tests.test_formatted_io3 module¶
cis_interface.examples.tests.test_formatted_io4 module¶
cis_interface.examples.tests.test_formatted_io5 module¶
cis_interface.examples.tests.test_formatted_io6 module¶
cis_interface.examples.tests.test_formatted_io7 module¶
cis_interface.examples.tests.test_formatted_io8 module¶
cis_interface.examples.tests.test_formatted_io9 module¶
cis_interface.examples.tests.test_gs_lesson1 module¶
-
class
cis_interface.examples.tests.test_gs_lesson1.
TestExampleGS1
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the Getting Started Lesson 1 example.
-
example_name
= 'gs_lesson1'¶
-
cis_interface.examples.tests.test_gs_lesson2 module¶
-
class
cis_interface.examples.tests.test_gs_lesson2.
TestExampleGS2
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the Getting Started Lesson 2 example.
-
example_name
= 'gs_lesson2'¶
-
cis_interface.examples.tests.test_gs_lesson3 module¶
cis_interface.examples.tests.test_gs_lesson4 module¶
cis_interface.examples.tests.test_gs_lesson4b module¶
cis_interface.examples.tests.test_hello module¶
cis_interface.examples.tests.test_maxMsg module¶
-
class
cis_interface.examples.tests.test_maxMsg.
TestExampleMaxMsg
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the MaxMsg example.
-
example_name
= 'maxMsg'¶
-
cis_interface.examples.tests.test_model_error module¶
-
class
cis_interface.examples.tests.test_model_error.
TestExampleModelError
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the model_error example.
-
example_name
= 'model_error'¶
-
expects_error
= True¶
-
cis_interface.examples.tests.test_root_to_shoot module¶
-
class
cis_interface.examples.tests.test_root_to_shoot.
TestExampleRootToShoot
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the Root to Shoot example.
-
example_name
= 'root_to_shoot'¶
-
cis_interface.examples.tests.test_rpcFib module¶
-
class
cis_interface.examples.tests.test_rpcFib.
TestExampleRpcFib
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the rpcFib example.
-
env
= {'FIB_ITERATIONS': '3', 'FIB_SERVER_SLEEP_SECONDS': '0.01'}¶
-
example_name
= 'rpcFib'¶
-
output_files
¶ Output file.
-
results
¶ Result that should be found in output files.
-
cis_interface.examples.tests.test_rpc_lesson1 module¶
cis_interface.examples.tests.test_rpc_lesson2 module¶
-
class
cis_interface.examples.tests.test_rpc_lesson2.
TestExampleRPC2
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Test the rpc_lesson2 example.
-
example_name
= 'rpc_lesson2'¶
-
niter1
= 3¶
-
niter2
= 5¶
-
output_files
¶ Output file.
-
results
¶ Result that should be found in output files.
-
cis_interface.examples.tests.test_timed_pipe module¶
-
class
cis_interface.examples.tests.test_timed_pipe.
ExampleTimedPipeTestBase
(*args, **kwargs)[source]¶ Bases:
cis_interface.examples.tests.TestExample
Base class for testing TimedPipe example with various comm types.
-
description_prefix
¶ Prefix message with test name.
-
env
= {'PIPE_MSG_COUNT': '10', 'PIPE_MSG_SIZE': '1024'}¶
-
example_name
= 'timed_pipe'¶
-
output_files
¶ Output file.
-
results
¶ Result that should be found in output files.
-
-
class
cis_interface.examples.tests.test_timed_pipe.
TestExampleTimedPipeIPCComm
(*args, **kwargs)¶ Bases:
cis_interface.examples.tests.test_timed_pipe.ExampleTimedPipeTestBase
Module contents¶
-
class
cis_interface.examples.tests.
TestExample
(*args, **kwargs)[source]¶ Bases:
cis_interface.tests.CisTestBase
,cis_interface.tools.CisClass
Base class for running examples.
-
description_prefix
¶ Prefix message with test name.
-
env
= {}¶
-
example_name
= None¶
-
expects_error
= False¶
-
input_files
¶ list Input files for the run.
-