File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ def test_enable_syslog_rate_limit_feature(self, mock_run):
410410
411411 mock_run .return_value = ('something' , 0 )
412412 result = runner .invoke (
413- config .config .commands ["syslog" ].commands ["rate-limit-feature" ].commands ["enable" ]
413+ config .config .commands ["syslog" ].commands ["rate-limit-feature" ].commands ["enable" ], obj = db
414414 )
415415 assert result .exit_code == SUCCESS
416416
@@ -424,6 +424,6 @@ def test_disable_syslog_rate_limit_feature(self, mock_run):
424424
425425 mock_run .return_value = ('something' , 0 )
426426 result = runner .invoke (
427- config .config .commands ["syslog" ].commands ["rate-limit-feature" ].commands ["disable" ]
427+ config .config .commands ["syslog" ].commands ["rate-limit-feature" ].commands ["disable" ], obj = db
428428 )
429429 assert result .exit_code == SUCCESS
You can’t perform that action at this time.
0 commit comments