File tree 1 file changed +2
-2
lines changed
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):
410
410
411
411
mock_run .return_value = ('something' , 0 )
412
412
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
414
414
)
415
415
assert result .exit_code == SUCCESS
416
416
@@ -424,6 +424,6 @@ def test_disable_syslog_rate_limit_feature(self, mock_run):
424
424
425
425
mock_run .return_value = ('something' , 0 )
426
426
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
428
428
)
429
429
assert result .exit_code == SUCCESS
You can’t perform that action at this time.
0 commit comments