コード例 #1
0
ファイル: test_stdout.py プロジェクト: revesansparole/pkglts
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()
コード例 #2
0
ファイル: test_stdout.py プロジェクト: revesansparole/pkglts
def test_installed_packages():
    pkgs = set(installed_packages())
    assert "pkglts" in pkgs