Example #1
0
def test_load_stdout_exists():
    ife = get_install_front_end('stdout')
    assert hasattr(ife, "install")
Example #2
0
def test_load_raise_import_error_if_not_available_name():
    with pytest.raises(ImportError):
        get_install_front_end("takapouet")
Example #3
0
def test_load_pip_exists():
    ife = get_install_front_end('pip')
    assert hasattr(ife, "install")
def test_load_stdout_exists():
    ife = get_install_front_end('stdout')
    assert hasattr(ife, "install")
def test_load_raise_import_error_if_not_available_name():
    assert_raises(ImportError, lambda: get_install_front_end("takapouet"))
def test_load_pip_exists():
    ife = get_install_front_end('pip')
    assert hasattr(ife, "install")