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

unable to execute unit test for "config interface" commands #1301

Closed
stephenxs opened this issue Dec 11, 2020 · 1 comment
Closed

unable to execute unit test for "config interface" commands #1301

stephenxs opened this issue Dec 11, 2020 · 1 comment

Comments

@stephenxs
Copy link
Collaborator

Description

Unable to execute the unit test for config interface sub commands.
For unit testing to work for a command, the fixture @clicommon.pass_db is required.
However, the db objects are generated in interface subcommand instead of passed by @clicommon.pass_db. This is probably because the namespace is required in the config interface command especially for MULTI ASIC feature.

Steps to reproduce the issue
1.
2.
3.

Describe the results you received

Describe the results you expected

Additional information you deem important (e.g. issue happens only occasionally)

Output of show version

(paste your output here)
@anshuv-mfst
Copy link

@stephenxs - could you please recheck; PRs are available.

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

No branches or pull requests

2 participants