Matthieu Tâche
Matthieu Tâche
Implementing a new CLI that could be named 'anta get tests' to generate test catalog example is now possible leveraging pydantic-modeled test inputs. https://github.com/ghandic/jsf is a Python library that can...
https://www.arista.com/en/support/advisories-notices/security-advisory/11995-security-advisory-55
Currently, we perform a shallow copy of `AntaCommand` class variables of `AntaTest` instances in [`AntaTest._init_commands()`](https://github.com/arista-netdevops-community/anta/blob/main/anta/models.py#L446). Copying the model when the command is actually collected in `AntaDevice._collect()` implementations could enhance performances...
Refactor pytest tests. Also disable various pylint rules implemented in Ruff. # Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a...
# Description Use [Codspeed](https://codspeed.io/) to benchmark ANTA. Use [RESPX](https://lundberg.github.io/respx/) to mock eAPI responses. The code generates an ANTA catalog from the unit test data at [tests/units/anta_tests](https://github.com/aristanetworks/anta/tree/main/tests/units/anta_tests). We should consider refactoring...
Currently, we allow the user to define duplicate tests in the catalog without any warning. If the user defines 10 identical tests (same test name and same inputs), there should...
AntaDevice equality is based on (host, port) tuple (https://github.com/aristanetworks/anta/blob/main/anta/device.py#L302). However, we accept that the user specifies multiple identical devices (same (host, port) tuple) with the different names, leading to inconsistent...
When writing unit tests, I rediscovered the `connect_inventory()` coroutine that returns all exceptions and do not stop gathering coroutines: https://github.com/aristanetworks/anta/blob/main/anta/inventory/__init__.py#L307 Error handling is done in the `AntaDevice.refresh()` function and if...