Skip to content

[mgmt vrf] Fix LGTM and PEP8 errors in mgmt vrf tests#1865

Merged
daall merged 1 commit intosonic-net:masterfrom
daall:lgtm_clean_up
Jul 9, 2020
Merged

[mgmt vrf] Fix LGTM and PEP8 errors in mgmt vrf tests#1865
daall merged 1 commit intosonic-net:masterfrom
daall:lgtm_clean_up

Conversation

@daall
Copy link
Contributor

@daall daall commented Jul 8, 2020

Signed-off-by: Danny Allen daall@microsoft.com

Description of PR

Summary: Cleans up LGTM and PEP8 warnings in the mgmt vrf tests.
Fixes # (issue)

Type of change

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

Approach

What is the motivation for this PR?

Get rid of LGTM and PEP8 warnings on this file and made the style more consistent.

How did you do it?

Referred to this: https://lgtm.com/projects/g/Azure/sonic-mgmt/latest/files/tests/test_mgmtvrf.py?sort=name&dir=ASC&mode=heatmap and http://pep8online.com/ and cleaned up all the error messages.

How did you verify/test it?

Tested locally, behavior is same before and after the tests.

Any platform specific information?

N/A

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

N/A

Documentation

N/A

Signed-off-by: Danny Allen <daall@microsoft.com>
@daall daall requested a review from a team July 8, 2020 06:11
@lgtm-com
Copy link

lgtm-com bot commented Jul 8, 2020

This pull request fixes 10 alerts when merging 71164c6 into e85eb58 - view on LGTM.com

fixed alerts:

  • 7 for Unused local variable
  • 2 for Variable defined multiple times
  • 1 for Unused import

@daall
Copy link
Contributor Author

daall commented Jul 8, 2020

retest vsimage please

@daall
Copy link
Contributor Author

daall commented Jul 8, 2020

retest vsimage please

@daall daall merged commit 3a72cf1 into sonic-net:master Jul 9, 2020
@daall daall deleted the lgtm_clean_up branch July 9, 2020 00:34
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
0dcb2b6 Open record file in append mode (sonic-net#1845)
03ce2ee [vnet/vxlan] Add support of multiple mappers for the VxLAN tunnel (sonic-net#1843)
c5e90ab VOQ: Nexthop for remote VOQ LC should be created on inband OIF. (sonic-net#1823)
834c5c8 Td2: Reclaim buffer from unused ports (sonic-net#1830)
a5ad55c [Dynamic Buffer Calc] Bug fix: Don't create lossless buffer profile for active ports without speed configured (sonic-net#1822)
f50368f [cfgmgr] Update Makefile.am to consume lib zmq (sonic-net#1865)
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.

3 participants