def test_have_node_5():
    # Assumes we're running on a system with Node/Readability.js installed
    assert have_node()
def test_have_node_4(mock_os_path_exists):
    mock_os_path_exists.return_value = False
    assert not have_node()
def test_have_node_2(mock_subprocess_run):
    mock_subprocess_run.return_value = CompletedProcess("", 1)
    assert not have_node()
def test_have_node_3(mock_subprocess_run):
    mock_subprocess_run.return_value = CompletedProcess("",
                                                        0,
                                                        stdout=b"v9.0.0\n")
    assert not have_node()
def test_have_node_1(mock_subprocess_run):
    mock_subprocess_run.side_effect = FileNotFoundError(
        "No such file or directory: 'node'")
    assert not have_node()