Skip to content
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

Test(eos_cli_config_gen): Added the test for domain-list in molecule to improve the coverage #4223

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

MaheshGSLAB
Copy link
Contributor

Change Summary

Added the test for domain-list in molecule to improve the coverage

Related Issue(s)

Fixes #

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Test were not added for domain list in eos_cli_config_gen moledule which were caused the low coverage for that module. Hence just added a test of domain list in molecule

How to test

Run the molecule

Checklist

User Checklist

  • N/A

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

@MaheshGSLAB MaheshGSLAB self-assigned this Jul 17, 2024
@github-actions github-actions bot added the state: CI Updated CI scenario have been updated in the PR label Jul 17, 2024
Copy link

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-4223
# Activate the virtual environment
source test-avd-pr-4223/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@domain-list#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,domain-list --force
# Optional: Install AVD examples
cd test-avd-pr-4223
ansible-playbook arista.avd.install_examples

@MaheshGSLAB MaheshGSLAB marked this pull request as ready for review July 18, 2024 04:57
@MaheshGSLAB MaheshGSLAB requested review from a team as code owners July 18, 2024 04:57
@MaheshGSLAB MaheshGSLAB requested a review from gmuloc July 18, 2024 13:20
Copy link
Contributor

@gmuloc gmuloc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding this

@gmuloc gmuloc added the one approval This PR has one approval and is only missing one more. label Jul 18, 2024
@gmuloc gmuloc requested a review from a team July 18, 2024 13:35
@carlbuchmann carlbuchmann added this to the v4.10.0 milestone Jul 18, 2024
@ClausHolbechArista ClausHolbechArista changed the title Fix(eos_cli_config_gen): Added the test for domain-list in molecule to improve the coverage Test(eos_cli_config_gen): Added the test for domain-list in molecule to improve the coverage Jul 22, 2024
Copy link

sonarcloud bot commented Jul 22, 2024

@ClausHolbechArista ClausHolbechArista merged commit 3d1fbda into aristanetworks:devel Jul 22, 2024
43 checks passed
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: Test(eos_cli_config_gen) state: CI Updated CI scenario have been updated in the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants