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

Move location of template file used by test_bgp_speaker #2491

Merged
merged 1 commit into from
Nov 10, 2020
Merged

Move location of template file used by test_bgp_speaker #2491

merged 1 commit into from
Nov 10, 2020

Conversation

wangxin
Copy link
Collaborator

@wangxin wangxin commented Nov 9, 2020

Description of PR

Summary:
Fixes # (issue)
Move location of template file used by tests/bgp/test_bgp_speaker.py from tests/bgp_speaker/ to tests/bgp/templates.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

Template file tests/bgp_speaker/bgp_speaker_route.j2 is only used by
script tests/bgp/test_bgp_speaker.py. What's more, it is also the only
file under folder tests/bgp_speaker. It would be better to put test scripts
and their dependent template files together.

How did you do it?

This change moves file tests/bgp_speaker/bgp_speaker_route.j2 to tests/bgp/templates.

How did you verify/test it?

Test run tests/bgp/test_bgp_speaker.py, all the cases passed.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Template file tests/bgp_speaker/bgp_speaker_route.j2 is only used by
script tests/bgp/test_bgp_speaker.py. What's more, it is also the only
file under folder tests/bgp_speaker. It would be better to put test scripts
and their dependent template files together. This change moves file
tests/bgp_speaker/bgp_speaker_route.j2 to tests/bgp/templates.

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@wangxin wangxin requested a review from a team November 9, 2020 09:40
Copy link
Contributor

@lolyu lolyu left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants