├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── lab ├── __init__.py ├── comms.py ├── config.py ├── config_v1.py ├── ctl │ ├── __init__.py │ ├── base.py │ └── exceptions.py ├── logwatch.py ├── network │ ├── __init__.py │ ├── dhcp.py │ ├── forward.py │ ├── macvlan.py │ ├── ping.py │ └── utils.py ├── ssh.py └── utils.py ├── pnet ├── __init__.py ├── bpf.py ├── dhcp4 │ ├── __init__.py │ └── options.py ├── msg.py └── utils.py ├── pytest_lab ├── __init__.py ├── api.py ├── data.py ├── docker.py ├── futurize.py ├── hookspec.py ├── locker.py ├── log.py ├── logwatch.py ├── map.py ├── network.py ├── roles.py ├── rpc.py ├── runnerctl.py └── storage.py ├── requirements-tests.txt ├── setup.py ├── ssh ├── __init__.py └── utils.py ├── tests ├── __init__.py ├── conftest.py ├── test_aquire.py └── test_map.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/README.md -------------------------------------------------------------------------------- /lab/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lab/comms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/comms.py -------------------------------------------------------------------------------- /lab/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/config.py -------------------------------------------------------------------------------- /lab/config_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/config_v1.py -------------------------------------------------------------------------------- /lab/ctl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/ctl/__init__.py -------------------------------------------------------------------------------- /lab/ctl/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/ctl/base.py -------------------------------------------------------------------------------- /lab/ctl/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/ctl/exceptions.py -------------------------------------------------------------------------------- /lab/logwatch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/logwatch.py -------------------------------------------------------------------------------- /lab/network/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/network/__init__.py -------------------------------------------------------------------------------- /lab/network/dhcp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/network/dhcp.py -------------------------------------------------------------------------------- /lab/network/forward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/network/forward.py -------------------------------------------------------------------------------- /lab/network/macvlan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/network/macvlan.py -------------------------------------------------------------------------------- /lab/network/ping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/network/ping.py -------------------------------------------------------------------------------- /lab/network/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/network/utils.py -------------------------------------------------------------------------------- /lab/ssh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/ssh.py -------------------------------------------------------------------------------- /lab/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/lab/utils.py -------------------------------------------------------------------------------- /pnet/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pnet/__init__.py -------------------------------------------------------------------------------- /pnet/bpf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pnet/bpf.py -------------------------------------------------------------------------------- /pnet/dhcp4/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pnet/dhcp4/__init__.py -------------------------------------------------------------------------------- /pnet/dhcp4/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pnet/dhcp4/options.py -------------------------------------------------------------------------------- /pnet/msg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pnet/msg.py -------------------------------------------------------------------------------- /pnet/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pnet/utils.py -------------------------------------------------------------------------------- /pytest_lab/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytest_lab/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/api.py -------------------------------------------------------------------------------- /pytest_lab/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/data.py -------------------------------------------------------------------------------- /pytest_lab/docker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/docker.py -------------------------------------------------------------------------------- /pytest_lab/futurize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/futurize.py -------------------------------------------------------------------------------- /pytest_lab/hookspec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/hookspec.py -------------------------------------------------------------------------------- /pytest_lab/locker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/locker.py -------------------------------------------------------------------------------- /pytest_lab/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/log.py -------------------------------------------------------------------------------- /pytest_lab/logwatch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/logwatch.py -------------------------------------------------------------------------------- /pytest_lab/map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/map.py -------------------------------------------------------------------------------- /pytest_lab/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/network.py -------------------------------------------------------------------------------- /pytest_lab/roles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/roles.py -------------------------------------------------------------------------------- /pytest_lab/rpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/rpc.py -------------------------------------------------------------------------------- /pytest_lab/runnerctl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/runnerctl.py -------------------------------------------------------------------------------- /pytest_lab/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/pytest_lab/storage.py -------------------------------------------------------------------------------- /requirements-tests.txt: -------------------------------------------------------------------------------- 1 | mock 2 | pylint 3 | pytest-cov 4 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/setup.py -------------------------------------------------------------------------------- /ssh/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/ssh/__init__.py -------------------------------------------------------------------------------- /ssh/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/ssh/utils.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_aquire.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/tests/test_aquire.py -------------------------------------------------------------------------------- /tests/test_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/tests/test_map.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sangoma/pytestlab/HEAD/tox.ini --------------------------------------------------------------------------------