def test_install(): assert "my-first-p" not in installed_packages() # install local wheel install("my-first-p") # test new package still not in virtualenv assert "my-first-p" not in installed_packages()
def test_installed_packages(): pkgs = set(installed_packages()) assert "pkglts" in pkgs