Network endpoints plugin for pytest
Project description
pytest-network-endpoints
Pytest plugin for defining remote network nodes. This plugin introduces --networkfile option and session scoped endpoints fixture which will contain automatically generated and configured clients for given type.
Predefined types avaiable:
yaml type key | endpoint class | comment |
---|---|---|
.ssh | pytest_network_endpoints.ssh.SshEndpoint | wrapper for paramiko |
.tunnel | pytest_network_endpoints.tunnel.TunnelEndpoint | wrapper for sshtunnel |
.snmp | pytest_network_endpoints.snmp.SnmpEndpoint | wrapper for easysnmp |
.winrm | pytest_network_endpoints.winrm.WinrmEndpoint | wrapper for pywinrm, winrmcp |
install
examples
ssh
ssh with auth key
tunnel
winrm
standalone
This package can be used without pytest
from pytest_network_endpoints.plugin import create_endpoints_from_networkfile
endpoints = create_endpoints_from_networkfile('path/to/networkfile.yml')
devel
python setup.py clean --all install bdist_wheel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pytest-network-endpoints-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f330c27957154a0ddaac8c5403cba7328d293c53d1016b5cb4a4f2f91deebfcb |
|
MD5 | 55dfa154b2ce70a4daa4f9c375b2edcc |
|
BLAKE2b-256 | 5af0e8d66b6e405c34e7a6fc630c36c93a1f6bc158d863570e5f2c2f1e17d987 |
Close
Hashes for pytest_network_endpoints-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb537578f3780a704cd65507708508f1d603d2c2e53dd59e87a3fe8bde4a08ff |
|
MD5 | 69f1ad1c333691b9e9fa05dc5d305057 |
|
BLAKE2b-256 | e63c265207969e6ada46341806d3f1f26c33962114230673169e5a208e137d52 |