Пример #1
0
def test_get_node_versions_iojs():
    versions = nodeenv.get_node_versions()
    assert versions == ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.1.0']
Пример #2
0
def test_get_node_versions_nodejs():
    versions = nodeenv.get_node_versions()
    # There's a lot of versions here, let's just do some sanity assertions
    assert len(versions) == 227
    assert versions[0:3] == ['0.0.1', '0.0.2', '0.0.3']
    assert versions[-3:] == ['0.11.15', '0.11.16', '0.12.0']
Пример #3
0
def test_get_node_versions():
    versions = nodeenv.get_node_versions()
    # there are a lot of versions, just some sanity checks here
    assert len(versions) == 485
    assert versions[:3] == ['0.1.14', '0.1.15', '0.1.16']
    assert versions[-3:] == ['13.3.0', '13.4.0', '13.5.0']
def test_get_node_versions_nodejs():
    versions = nodeenv.get_node_versions()
    # There's a lot of versions here, let's just do some sanity assertions
    assert len(versions) == 227
    assert versions[0:3] == ['0.0.1', '0.0.2', '0.0.3']
    assert versions[-3:] == ['0.11.15', '0.11.16', '0.12.0']
def test_get_node_versions_iojs():
    versions = nodeenv.get_node_versions()
    assert versions == ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.1.0']
Пример #6
0
def test_get_node_versions_nodejs():
    versions = nodeenv.get_node_versions()
    # There's a lot of versions here, let's just do some sanity assertions
    assert len(versions) == 227
    assert versions[0:3] == ["0.0.1", "0.0.2", "0.0.3"]
    assert versions[-3:] == ["0.11.15", "0.11.16", "0.12.0"]
Пример #7
0
def test_get_node_versions_iojs():
    versions = nodeenv.get_node_versions()
    assert versions == ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.1.0"]