-
Notifications
You must be signed in to change notification settings - Fork 242
Refactor(eos_designs): Improve pytest coverage for network_services/route_maps.py #5317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ClausHolbechArista
merged 14 commits into
aristanetworks:devel
from
MaheshGSLAB:route-maps-coverage
May 14, 2025
Merged
Refactor(eos_designs): Improve pytest coverage for network_services/route_maps.py #5317
ClausHolbechArista
merged 14 commits into
aristanetworks:devel
from
MaheshGSLAB:route-maps-coverage
May 14, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Review docs on Read the Docs To test this pull request: # Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-5317
# Activate the virtual environment
source test-avd-pr-5317/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@route-maps-coverage#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,route-maps-coverage --force
# Optional: Install AVD examples
cd test-avd-pr-5317
ansible-playbook arista.avd.install_examples |
MaheshGSLAB
commented
Apr 25, 2025
python-avd/pyavd/_eos_designs/structured_config/network_services/route_maps.py
Show resolved
Hide resolved
MaheshGSLAB
commented
Apr 25, 2025
python-avd/pyavd/_eos_designs/structured_config/network_services/route_maps.py
Show resolved
Hide resolved
Shivani-gslab
approved these changes
Apr 29, 2025
bdf8617
to
58d2ffd
Compare
ClausHolbechArista
requested changes
Apr 29, 2025
...avd/molecule/eos_designs_unit_tests/inventory/host_vars/missing-vrf-default-ipv4-subnets.yml
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/network_services/route_maps.py
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/network_services/route_maps.py
Show resolved
Hide resolved
562d70f
to
e0ca560
Compare
...avd/molecule/eos_designs_unit_tests/inventory/host_vars/tenant-default-vrf-static-routes.yml
Outdated
Show resolved
Hide resolved
...gns_unit_tests/inventory/host_vars/underlay-filter-redistribute-connected-with-route-map.yml
Outdated
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
laxmikantchintakindi
approved these changes
May 8, 2025
...vd/molecule/eos_designs_unit_tests/inventory/host_vars/tenant-default-vrf-with-loopbacks.yml
Outdated
Show resolved
Hide resolved
...a/avd/molecule/eos_designs_unit_tests/intended/configs/tenant-default-vrf-with-loopbacks.cfg
Outdated
Show resolved
Hide resolved
...esigns_unit_tests/intended/configs/underlay-filter-redistribute-connected-with-route-map.cfg
Outdated
Show resolved
Hide resolved
...ections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_LAN_TESTS.yml
Outdated
Show resolved
Hide resolved
...esigns_unit_tests/inventory/host_vars/underlay-filter-redistribute-connected-vrf-default.yml
Outdated
Show resolved
Hide resolved
MaheshGSLAB
commented
May 13, 2025
..._designs_unit_tests/inventory/host_vars/underlay-filter-redistribute-connected-false-svi.yml
Outdated
Show resolved
Hide resolved
…/inventory/host_vars/underlay-filter-redistribute-connected-false-svi.yml
ClausHolbechArista
approved these changes
May 14, 2025
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
one approval
This PR has one approval and is only missing one more.
rn: Refactor(eos_designs)
state: CI Updated
CI scenario have been updated in the PR
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Summary
Improve the pytest coverage for network_services/route_maps.py
Related Issue(s)
Fixes #
Component(s) name
arista.avd.eos_designs
Proposed changes
Improve the pytest coverage for network_services/route_maps.py. Coverage is 100% now
How to test
Run tox
Checklist
User Checklist
Repository Checklist