def test_cli_should_exit_with_only_one_arg(self):
    with pytest.raises(SystemExit) as pytest_wrapped_e_pseudo_name:
        tsocli.main(['s'])
    with pytest.raises(SystemExit) as pytest_wrapped_e_full_name:
        tsocli.main(['schedule'])
    assert (pytest_wrapped_e_pseudo_name.type == pytest_wrapped_e_full_name.type)
    assert (pytest_wrapped_e_pseudo_name.value.code == pytest_wrapped_e_full_name.value.code)
    assert (pytest_wrapped_e_pseudo_name.type == SystemExit)
    assert (pytest_wrapped_e_pseudo_name.value.code == 1)
def test_cli_should_exit_with_only_one_arg(self):
    with pytest.raises(SystemExit) as pytest_wrapped_e_pseudo_name:
        tsocli.main(['s'])
    with pytest.raises(SystemExit) as pytest_wrapped_e_full_name:
        tsocli.main(['schedule'])
    assert (pytest_wrapped_e_pseudo_name.type == pytest_wrapped_e_full_name.type)
    assert (pytest_wrapped_e_pseudo_name.value.code == pytest_wrapped_e_full_name.value.code)
    assert (pytest_wrapped_e_pseudo_name.type == SystemExit)
    assert (pytest_wrapped_e_pseudo_name.value.code == 1)