Tests

Handlers

Handlers in MatrixCtl are used to handle the communication between the server and the Addons or to load config files.

Fixtures

YAML

Test the yaml handler.

tests.matrixctl.handlers.test_yaml.test_get_ansible_playbook(yaml)[source]

Test ansible -> playbook.

Return type

None

tests.matrixctl.handlers.test_yaml.test_get_api_domain(yaml)[source]

Test api -> domain.

Return type

None

tests.matrixctl.handlers.test_yaml.test_get_api_token(yaml)[source]

Test api -> token.

Return type

None

tests.matrixctl.handlers.test_yaml.test_get_api_username(yaml)[source]

Test api -> username.

Return type

None

tests.matrixctl.handlers.test_yaml.test_get_ssh_address(yaml)[source]

Test ssh -> address.

Return type

None

tests.matrixctl.handlers.test_yaml.test_get_ssh_port(yaml)[source]

Test ssh -> port.

Return type

None

tests.matrixctl.handlers.test_yaml.test_get_ssh_user(yaml)[source]

Test ssh -> user.

Return type

None

tests.matrixctl.handlers.test_yaml.test_get_synapse_playbook(yaml)[source]

Test synapse -> playbook.

Return type

None

tests.matrixctl.handlers.test_yaml.test_repr(yaml)[source]

Test __repr__().

Return type

None

tests.matrixctl.handlers.test_yaml.test_str(yaml)[source]

Test __str__().

Return type

None