Common fixtures used in inmanta yang related modules
Project description
pytest-inmanta-yang
Common fixtures used in inmanta yang related modules
Installation
pip install pytest-inmanta-yang
Usage
- You can specify workspace folder and device access parameters
export WORKSPACE=/tmp/workspace
export YANG_DEVICE_HOST="sros-1.ci.ii.inmanta.com"
export YANG_DEVICE_PORT="830"
export YANG_DEVICE_USERNAME="admin"
export YANG_DEVICE_PASSWORD="admin"
- The override the base config (that will be deployed to the device before each test), override the fixture
netconf_device_initial_config_path_file
to return the path to the file containing the base config
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-inmanta-yang-1.4.0.tar.gz
(19.8 kB
view hashes)
Close
Hashes for pytest-inmanta-yang-1.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37d26bc19eac2e8aa9d57de517fe45eade51f69ea57d94b1320e7b8c77dfad2d |
|
MD5 | 702ab4ffe5491284fc907465cca87b65 |
|
BLAKE2b-256 | 74b197f1bda128f7b1e2a0211837f4f44844ec15602f66944be0d4a63779a439 |