Skip to content

Commit a20435a

Browse files
committed
fix UT
Signed-off-by: Mai Bui <[email protected]>
1 parent 2c29446 commit a20435a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/show_test.py

-5
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,6 @@ def test_show_lldp_table(self, mock_run_command):
362362
assert result.exit_code == 0
363363
mock_run_command.assert_called_with(['sudo', 'lldpshow'], display_cmd=True)
364364

365-
def test_show_logging_invalid_process(self):
366-
runner = CliRunner()
367-
result = runner.invoke(show.cli.commands['logging'], ['systemd | grep ERR'])
368-
assert result.output == 'Process contains only number, alphabet, and whitespace.\n'
369-
370365
@patch('show.main.run_command')
371366
def test_show_environment(self, mock_run_command):
372367
runner = CliRunner()

0 commit comments

Comments
 (0)