Skip to content

Commit

Permalink
Fix ut issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Dec 8, 2023
1 parent d2df20f commit 84a8b37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/syslog_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def test_enable_syslog_rate_limit_feature(self, mock_run):

mock_run.return_value = ('something', 0)
result = runner.invoke(
config.config.commands["syslog"].commands["rate-limit-feature"].commands["enable"]
config.config.commands["syslog"].commands["rate-limit-feature"].commands["enable"], obj=db
)
assert result.exit_code == SUCCESS

Expand All @@ -424,6 +424,6 @@ def test_disable_syslog_rate_limit_feature(self, mock_run):

mock_run.return_value = ('something', 0)
result = runner.invoke(
config.config.commands["syslog"].commands["rate-limit-feature"].commands["disable"]
config.config.commands["syslog"].commands["rate-limit-feature"].commands["disable"], obj=db
)
assert result.exit_code == SUCCESS

0 comments on commit 84a8b37

Please sign in to comment.