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

qos_sai test failing due to error "command() got an unexpected keyword argument 'argv' #3107

Closed
neethajohn opened this issue Mar 8, 2021 · 0 comments · Fixed by #3108
Closed
Assignees

Comments

@neethajohn
Copy link
Contributor

neethajohn commented Mar 8, 2021

Description
Prior to b38562a, 'SonicAsic' class method 'command' signature was
def command(self, *args, **kwargs):

Now it uses a new format:
def command(self, cmdstr):

Steps to reproduce the issue:

  1. Run test_qos_sai.py

Describe the results you received:

 >           result = dut_asic.command(argv = ["arp", "-n"])
 E           TypeError: command() got an unexpected keyword argument 'argv'

Describe the results you expected:
Test should run without any errors

Additional information you deem important:

**Output of `show version`:**

201911 image

@neethajohn neethajohn self-assigned this Mar 8, 2021
neethajohn added a commit that referenced this issue Mar 9, 2021
Summary:
Fixes #3107

Signed-off-by: Neetha John <[email protected]>

Ran qos sai test and do not see the failures
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 a pull request may close this issue.

1 participant