cis_interface.drivers.tests package¶
Submodules¶
cis_interface.drivers.tests.test_AsciiFileInputDriver module¶
-
class
cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputParam,cis_interface.drivers.tests.test_FileInputDriver.TestFileInputDriverTest runner for AsciiFileInputDriver.
- Attributes (in addition to the parent class):
-
class
cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputParam,cis_interface.drivers.tests.test_FileInputDriver.TestFileInputDriverNoStartTest runner for AsciiFileInputDriver without start.
- Attributes (in addition to the parent class):
-
class
cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_FileInputDriver.TestFileInputParamTest parameters for AsciiFileInputDriver.
- Attributes (in addition to the parent class):
cis_interface.drivers.tests.test_AsciiFileOutputDriver module¶
-
class
cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputParam,cis_interface.drivers.tests.test_FileOutputDriver.TestFileOutputDriverTest runner for AsciiFileOutputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputParam,cis_interface.drivers.tests.test_FileOutputDriver.TestFileOutputDriverNoStartTest runner for AsciiFileOutputDriver without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_FileOutputDriver.TestFileOutputParamTest parameters for AsciiFileOutputDriver.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_AsciiTableInputDriver module¶
-
class
cis_interface.drivers.tests.test_AsciiTableInputDriver.TestAsciiTableInputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiTableInputDriver.TestAsciiTableInputParam,cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputDriverTest runner for AsciiTableInputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_AsciiTableInputDriver.TestAsciiTableInputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiTableInputDriver.TestAsciiTableInputParam,cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputDriverNoStartTest runner for AsciiTableInputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_AsciiTableInputDriver.TestAsciiTableInputDriver_Array(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiTableInputDriver.TestAsciiTableInputParam,cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputDriverTest runner for AsciiTableInputDriver with array input.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_AsciiTableInputDriver.TestAsciiTableInputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiFileInputDriver.TestAsciiFileInputParamTest parameters for AsciiTableInputDriver.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_AsciiTableOutputDriver module¶
-
class
cis_interface.drivers.tests.test_AsciiTableOutputDriver.TestAsciiTableOutputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiTableOutputDriver.TestAsciiTableOutputParam,cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputDriverTest runner for AsciiTableOutputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_AsciiTableOutputDriver.TestAsciiTableOutputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiTableOutputDriver.TestAsciiTableOutputParam,cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputDriverNoStartTest runner for AsciiTableOutputDriver without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_AsciiTableOutputDriver.TestAsciiTableOutputDriver_Array(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiTableOutputDriver.TestAsciiTableOutputParam,cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputDriverTest runner for AsciiTableOutputDriver with array input.
-
class
cis_interface.drivers.tests.test_AsciiTableOutputDriver.TestAsciiTableOutputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_AsciiFileOutputDriver.TestAsciiFileOutputParamTest parameters for AsciiTableOutputDriver.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_Driver module¶
-
class
cis_interface.drivers.tests.test_Driver.TestDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_Driver.TestParamTest runner for basic Driver class.
- Attributes (in addition to parameter class):
-
class
cis_interface.drivers.tests.test_Driver.TestDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_Driver.TestParamTest runner for basic Driver class without starting driver.
- Attributes (in addition to parent class):
-
class
cis_interface.drivers.tests.test_Driver.TestParam(*args, **kwargs)[source]¶ Bases:
unittest.case.TestCaseTest parameters for basic Driver test class.
-
driver¶ str – The driver class.
-
args¶ object – Driver arguments.
-
namespace¶ str – PSI namespace to run drivers in.
-
attr_list¶ list – List of attributes that should be checked for after initialization.
-
inst_kwargs¶ dict – Keyword arguments for the driver.
-
nprev_queues¶ int – The number of IPC queues that exist before the driver instance is created.
-
instance¶ object – Instance of the test driver.
-
name¶ str – Name of the test driver.
-
workingDir¶ str – Working directory.
-
cis_interface.drivers.tests.test_FileInputDriver module¶
-
class
cis_interface.drivers.tests.test_FileInputDriver.TestFileInputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_FileInputDriver.TestFileInputParam,cis_interface.drivers.tests.test_IODriver.TestIODriverTest runner for FileInputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_FileInputDriver.TestFileInputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_FileInputDriver.TestFileInputParam,cis_interface.drivers.tests.test_IODriver.TestIODriverNoStartTest runner for FileInputDriver without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_FileInputDriver.TestFileInputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_IODriver.TestIOParamTest parameters for FileInputDriver.
- Attributes (in addition to parent class’s):
- filepath (str): Full path to test file.
cis_interface.drivers.tests.test_FileOutputDriver module¶
-
class
cis_interface.drivers.tests.test_FileOutputDriver.TestFileOutputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_FileOutputDriver.TestFileOutputParam,cis_interface.drivers.tests.test_IODriver.TestIODriverTest runner for FileOutputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_FileOutputDriver.TestFileOutputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_FileOutputDriver.TestFileOutputParam,cis_interface.drivers.tests.test_IODriver.TestIODriverNoStartTest runner for FileOutputDriver without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_FileOutputDriver.TestFileOutputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_IODriver.TestIOParamTest parameters for FileOutputDriver.
- Attributes (in addition to parent class’s):
- filepath (str): Full path to test file.
cis_interface.drivers.tests.test_GCCModelDriver module¶
-
class
cis_interface.drivers.tests.test_GCCModelDriver.TestGCCModelDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_GCCModelDriver.TestGCCModelParam,cis_interface.drivers.tests.test_ModelDriver.TestModelDriverTest runner for GCCModelDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_GCCModelDriver.TestGCCModelDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_GCCModelDriver.TestGCCModelParam,cis_interface.drivers.tests.test_ModelDriver.TestModelDriverNoStartTest runner for GCCModelDriver without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_GCCModelDriver.TestGCCModelParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_ModelDriver.TestModelParamTest parameters for GCCModelDriver.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_IODriver module¶
-
class
cis_interface.drivers.tests.test_IODriver.IOInfo[source]¶ Bases:
objectSimple class for useful IO attributes.
-
fmt_str¶ str – Format string for lines of a table.
-
file_rows¶ list – List of mock table rows.
-
data_dict¶ dict – Mock dictionary of arrays.
-
file_array¶ np.ndarray – Numpy structure array of mock file contents.
-
file_bytes¶ str – Raw bytes of array of mock file contents.
-
file_contents¶ str – Complete contents of mock file.
-
file_lines¶ list – Lines in a mock file.
-
maxMsgSize¶ int – Maximum message size.
-
msg_long¶ str – Small test message for sending.
-
msg_short¶ str – Small test message for sending.
-
pickled_data¶ str – Pickled mock data dictionary.
-
-
class
cis_interface.drivers.tests.test_IODriver.TestIODriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_IODriver.TestIOParam,cis_interface.drivers.tests.test_Driver.TestDriverTest class for the IODriver class.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_IODriver.TestIODriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_IODriver.TestIOParam,cis_interface.drivers.tests.test_Driver.TestDriverNoStartTest class for the IODriver class without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_IODriver.TestIOParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_Driver.TestParam,cis_interface.drivers.tests.test_IODriver.IOInfoTest parameters for the IODriver class.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_MatInputDriver module¶
-
class
cis_interface.drivers.tests.test_MatInputDriver.TestMatInputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_IODriver.TestIODriverTest runner for MatInputDriver.
- Attributes (in addition to parent class’s):
- filepath (str): Full path to test file.
cis_interface.drivers.tests.test_MatOutputDriver module¶
-
class
cis_interface.drivers.tests.test_MatOutputDriver.TestMatOutputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_MatOutputDriver.TestMatOutputParam,cis_interface.drivers.tests.test_IODriver.TestIODriverTest runner for MatOutputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_MatOutputDriver.TestMatOutputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_MatOutputDriver.TestMatOutputParam,cis_interface.drivers.tests.test_IODriver.TestIODriverNoStartTest runner for MatOutputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_MatOutputDriver.TestMatOutputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_IODriver.TestIOParamTest parameters for MatOutputDriver.
- Attributes (in addition to parent class’s):
- filepath (str): Full path to test file.
cis_interface.drivers.tests.test_MatlabModelDriver module¶
-
class
cis_interface.drivers.tests.test_MatlabModelDriver.TestMatlabModelDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_ModelDriver.TestModelDriver,cis_interface.drivers.tests.test_ModelDriver.TestModelDriverNoStartTest runner for MatlabModelDriver.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_ModelDriver module¶
-
class
cis_interface.drivers.tests.test_ModelDriver.TestModelDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_ModelDriver.TestModelParam,cis_interface.drivers.tests.test_Driver.TestDriverTest runner for basic ModelDriver class.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_ModelDriver.TestModelDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_ModelDriver.TestModelParam,cis_interface.drivers.tests.test_Driver.TestDriverNoStartTest runner for basic ModelDriver class.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_ModelDriver.TestModelParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_Driver.TestParamTest parameters for basic ModelDriver class.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_PythonModelDriver module¶
-
class
cis_interface.drivers.tests.test_PythonModelDriver.TestPythonModelDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_PythonModelDriver.TestPythonModelParam,cis_interface.drivers.tests.test_ModelDriver.TestModelDriverTest runner for PythonModelDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_PythonModelDriver.TestPythonModelDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_PythonModelDriver.TestPythonModelParam,cis_interface.drivers.tests.test_ModelDriver.TestModelDriverNoStartTest runner for PythonModelDriver without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_PythonModelDriver.TestPythonModelParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_ModelDriver.TestModelParamTest parameters for PythonModelDriver.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_RMQClientDriver module¶
-
class
cis_interface.drivers.tests.test_RMQClientDriver.TestRMQClientDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQClientDriver.TestRMQClientParam,cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverTest class for RMQClientDriver class.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQClientDriver.TestRMQClientDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQClientDriver.TestRMQClientParam,cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverNoStartTest class for RMQClientDriver class without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQClientDriver.TestRMQClientParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQDriver.TestRMQParam,cis_interface.drivers.tests.test_IODriver.IOInfoTest parameters for RMQClientDriver class.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_RMQDriver module¶
-
class
cis_interface.drivers.tests.test_RMQDriver.TestRMQDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQDriver.TestRMQParam,cis_interface.drivers.tests.test_Driver.TestDriverTest class for RMQDriver class.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQDriver.TestRMQParam,cis_interface.drivers.tests.test_Driver.TestDriverNoStartTest class for RMQDriver class without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQDriver.TestRMQParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_Driver.TestParam,cis_interface.drivers.tests.test_IODriver.IOInfoTest parameters for RMQDriver class.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_RMQInputDriver module¶
-
class
cis_interface.drivers.tests.test_RMQInputDriver.TestRMQInputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQInputDriver.TestRMQInputParam,cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverTest runner for RMQInputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQInputDriver.TestRMQInputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQInputDriver.TestRMQInputParam,cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverNoStartTest runner for RMQInputDriver without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQInputDriver.TestRMQInputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQDriver.TestRMQParam,cis_interface.drivers.tests.test_IODriver.IOInfoTest parameters for RMQInputDriver.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_RMQOutputDriver module¶
-
class
cis_interface.drivers.tests.test_RMQOutputDriver.TestRMQOutputDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQOutputDriver.TestRMQOutputParam,cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverTest runner for RMQOutputDriver.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQOutputDriver.TestRMQOutputDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQOutputDriver.TestRMQOutputParam,cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverNoStartTest runner for RMQOutputDriver without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQOutputDriver.TestRMQOutputParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQDriver.TestRMQParamTest parameters for RMQOutputDriver.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_RMQServerDriver module¶
-
class
cis_interface.drivers.tests.test_RMQServerDriver.TestRMQServerDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQServerDriver.TestRMQServerParam,cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverTest class for RMQServerDriver class.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQServerDriver.TestRMQServerDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQServerDriver.TestRMQServerParam,cis_interface.drivers.tests.test_RMQDriver.TestRMQDriverNoStartTest class for RMQServerDriver class without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RMQServerDriver.TestRMQServerParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RMQDriver.TestRMQParam,cis_interface.drivers.tests.test_IODriver.IOInfoTest parameters for RMQServerDriver class.
- Attributes (in addition to parent class’s):
cis_interface.drivers.tests.test_RPCDriver module¶
-
class
cis_interface.drivers.tests.test_RPCDriver.TestRPCDriver(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RPCDriver.TestRPCParam,cis_interface.drivers.tests.test_Driver.TestDriver,cis_interface.drivers.tests.test_IODriver.IOInfoTest class for RPCDriver class.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RPCDriver.TestRPCDriverNoStart(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_RPCDriver.TestRPCParam,cis_interface.drivers.tests.test_Driver.TestDriverNoStart,cis_interface.drivers.tests.test_IODriver.IOInfoTest class for RPCDriver class without start.
- Attributes (in addition to parent class’s):
-
class
cis_interface.drivers.tests.test_RPCDriver.TestRPCParam(*args, **kwargs)[source]¶ Bases:
cis_interface.drivers.tests.test_Driver.TestParam,cis_interface.drivers.tests.test_IODriver.IOInfoTest parameters for RPCDriver class.
- Attributes (in addition to parent class’s):
Module contents¶
Tests for drivers sub-package.