mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
This does not directly affect network because network has its own solution for dealing with testing/linting module_utils code, but it gets network to feature/code parity with the template and other repos. Defines a shell function in utils.sh - lsr_setup_module_utils - that allows configuring a tox venv installed ansible to have the repo module_utils code in the default pythonpath for the venv, which allows testing and linting the module_utils code without having to otherwise munge or mock the pythonpath. Projects needing this functionality can set in `.travis/config.sh` the variable `RUN_PYTEST_SETUP_MODULE_UTILS` to setup module_utils/ for pytest, and `RUN_PYLINT_SETUP_MODULE_UTILS` to setup module_utils/ for pylint. |
||
|---|---|---|
| .. | ||
| files | ||
| playbooks | ||
| roles/linux-system-roles.network | ||
| tasks | ||
| unit | ||
| .gitignore | ||
| ansible_module_network_connections.py | ||
| covstats | ||
| down-profile.yml | ||
| ensure_non_running_provider.py | ||
| get-coverage.sh | ||
| get-coverage.yml | ||
| get-total-coverage.sh | ||
| merge-coverage.sh | ||
| remove-profile.yml | ||
| run-tasks.yml | ||
| setup_module_utils.sh | ||
| tests_802_1x_nm.yml | ||
| tests_bridge.yml | ||
| tests_bridge_other_provider.yml | ||
| tests_default.yml | ||
| tests_default_initscripts.yml | ||
| tests_default_nm.yml | ||
| tests_ethernet.yml | ||
| tests_ethernet_other_provider.yml | ||
| tests_ethtool_features_initscripts.yml | ||
| tests_ethtool_features_nm.yml | ||
| tests_helpers-and-asserts.yml | ||
| tests_states.yml | ||
| tests_unit.yml | ||
| tests_vlan_mtu_initscripts.yml | ||
| tests_vlan_mtu_nm.yml | ||