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 16, 2022
1 parent 5b281c8 commit f6db8bb
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 @@ -1635,8 +1635,10 @@ def setup_class(cls):
def test_config_platform(self, ctx, get_cmd_module, setup_single_cisco_asic):
expected_output = "cisco"
(config, show) = get_cmd_module
db = Db()
runner = CliRunner()
config.config(ctx)
obj = {'config_db': db.cfgdb}
config.config(obj=obj)
result = runner.invoke(config.config.commands["platform"], ['--help'])

print(result.exit_code)
Expand Down

0 comments on commit f6db8bb

Please sign in to comment.