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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest-network-endpoints-0.0.1.tar.gz.
File metadata
- Download URL: pytest-network-endpoints-0.0.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f330c27957154a0ddaac8c5403cba7328d293c53d1016b5cb4a4f2f91deebfcb
|
|
| MD5 |
55dfa154b2ce70a4daa4f9c375b2edcc
|
|
| BLAKE2b-256 |
5af0e8d66b6e405c34e7a6fc630c36c93a1f6bc158d863570e5f2c2f1e17d987
|
File details
Details for the file pytest_network_endpoints-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pytest_network_endpoints-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb537578f3780a704cd65507708508f1d603d2c2e53dd59e87a3fe8bde4a08ff
|
|
| MD5 |
69f1ad1c333691b9e9fa05dc5d305057
|
|
| BLAKE2b-256 |
e63c265207969e6ada46341806d3f1f26c33962114230673169e5a208e137d52
|