示例#1
0
def test_install():
    # create virtualenv
    assert "my-first-p" not in installed_packages()

    # install local wheel
    install("test/test_install_env/my_first_p-0.0.4-py2.py3-none-any.whl")

    # test new package still not in virtualenv
    assert "my-first-p" in installed_packages()
示例#2
0
def test_install(venv):
    # create virtualenv
    assert "my-first-p" not in installed_packages()

    # install local wheel
    install("test/test_install_env/my_first_p-0.0.4-py2.py3-none-any.whl")

    # test new package still not in virtualenv
    assert "my-first-p" in installed_packages()
示例#3
0
def test_installed_packages():
    pkgs = set(installed_packages())
    assert "wheel" in pkgs
示例#4
0
def test_installed_packages():
    pkgs = set(installed_packages())
    assert "wheel" in pkgs