Skip to content

Commit

Permalink
Added cisco config platform commands
Browse files Browse the repository at this point in the history
Signed-off-by: Yucai Gu <yucgu@cisco.com>
  • Loading branch information
yucgu committed Aug 4, 2022
1 parent c86e6ce commit 6d15d15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1596,8 +1596,10 @@ def setup_class(cls):
importlib.reload(config.main)

def test_config_platform_cisco(self, get_cmd_module, setup_single_cisco_asic):
from config.main import config
config()
runner = CliRunner()
result = runner.invoke(config.config.commands["platform"], ["cisco"])
result = runner.invoke(config.config.commands["platform"], ["-h"])

print(result.exit_code)
print(result.output)
Expand Down

0 comments on commit 6d15d15

Please sign in to comment.