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

refactor(anta): Refactor AntaTestCommand and AntaTestTemplate #245

Merged
merged 25 commits into from
Jul 6, 2023

Conversation

mtache
Copy link
Collaborator

@mtache mtache commented Jul 4, 2023

AntaCommand

  • refactor(anta.models): rename AntaTestCommand to AntaCommand
  • feat(anta.models): propagate error in AntaCommand object
  • add collected property to AntaCommand

AntaTemplate

  • refactor(anta.models): Rename AntaTestTemplate to AntaTemplate
  • refactor(anta.models): introduce AntaTemplate.render()

Others

  • Update tests to reflect AntaCommand and AntaTemplate changes
  • Use rich tracebacks
  • Create a specific logger for each test class

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

Conflicts have been resolved. A maintainer will review the pull request shortly.

@mtache mtache merged commit f887ebe into aristanetworks:master Jul 6, 2023
15 checks passed
@mtache mtache deleted the refactor/AntaCommand branch July 7, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove need for cast in tests by refactoring AntaTestCommand class ValueError when devices have ReadTimeout
1 participant