From 84a8b37374250a0650df01fc40e3b0bddecf124d Mon Sep 17 00:00:00 2001 From: Junchao-Mellanox Date: Fri, 8 Dec 2023 09:16:27 +0200 Subject: [PATCH] Fix ut issue --- tests/syslog_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/syslog_test.py b/tests/syslog_test.py index 6cacdafeb7..c164695739 100644 --- a/tests/syslog_test.py +++ b/tests/syslog_test.py @@ -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 @@ -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