def METHOD_NAME():
    pseo = PsEoCmd(context_wrap(PS_EO_CMD_MISSING))
    ps = Ps(None, None, None, None, None, None, pseo)
    assert ps is not None
    ctx = FakeContext()
    with pytest.raises(TypeError):
        get_running_commands(ps, ctx, 'not_a_list')
    with pytest.raises(TypeError):
        get_running_commands(ps, ctx, [])