nuts
nuts copied to clipboard
NUTS defines a desired network state and checks it against a real network using pytest and nornir.
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. Release notes Sourced from jinja2's releases. 3.1.4 This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise...
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7. Release notes Sourced from idna's releases. v3.7 What's Changed Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time...
It should be possible to add additional information to the text log export (JUnit XML) https://docs.pytest.org/en/7.1.x/how-to/output.html#record-property-example
The pytest details delivered when a test fails are rather programmer-specific and need know-how of the internas of pytest. Depending on how the assertion condition is written, the assertion error...
Log for v3.0.2: https://github.com/INSRapperswil/nuts/runs/4455004888?check_suite_focus=true It seems this is a permissions issue with the GITHUB_TOKEN, for more information on how to set permissions on this see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
The "transformed_result" property of AbstractResultExtractor has inconsistent types depending on the subclass: - In "AbstractHostResultExtractor" it is Dict[str, NutsResult] - In "AbstractHostDestResultExtractor" it is Dict[str, Dict[str, NutsResult]] To me this...
Test classes are defined in yaml bundles like this: ```yaml - test_class: TestNapalmBgpNeighbors test_data: - host: R1 peer: 1.2.3.4 is_up: false ``` From a usability standpoint it would be good...
`napalm_ping.py` (and iperf too) needs to access a context's `test_data` from within the Extractor, which is not nice: `test_data: List[Dict[str, Any]] = self._nuts_ctx.nuts_parameters["test_data"]`. Find a solution to pass the entry...
We patch attributes onto existing objects at two locations in the code: * `napalm_ping.py`: we add a `destination` field to every Nornir-Result. * `result.py`: we add an `exception` field to...
Add the possiblity to specify a single data entry which will be inherited by entry of "test_data". Data in the entry has higher precendence than data from the inherited entry.