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