fix unit test
This commit is contained in:
parent
e8115ff973
commit
b8d592ffcf
1 changed files with 3 additions and 1 deletions
|
|
@ -244,7 +244,9 @@ def test_no_positional_arg_command(mock_sys_exit, tv_show_config_path):
|
|||
main()
|
||||
|
||||
assert mock_error.call_count == 1
|
||||
assert mock_error.call_args.args[0] == "Must provide one of the commands: sub, dl, view"
|
||||
assert mock_error.call_args.args[0] == (
|
||||
"Must provide one of the commands: sub, dl, view, cli-to-sub"
|
||||
)
|
||||
|
||||
|
||||
def test_bad_config_path(mock_sys_exit):
|
||||
|
|
|
|||
Loading…
Reference in a new issue