Skip to content

Commit

Permalink
Failing test for pypa#6158
Browse files Browse the repository at this point in the history
  • Loading branch information
tgs committed Jan 23, 2019
1 parent acdbcf7 commit beeacad
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/functional/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,21 @@ def test_vcs_url_urlquote_normalization(script, tmpdir):
)


def test_basic_install_from_local_directory_with_no_cache_dir(script, data):
"""
Test installing with --no-cache-dir, so wheels can't be built there.
"""
to_install = data.packages.join("FSPkg")
result = script.pip(
'install', to_install, '--no-cache-dir', expect_error=False)
fspkg_folder = script.site_packages / 'fspkg'
egg_info_folder = (
script.site_packages / 'FSPkg-0.1.dev0-py%s.egg-info' % pyversion
)
assert fspkg_folder in result.files_created, str(result.stdout)
assert egg_info_folder in result.files_created, str(result)


def test_basic_install_from_local_directory(script, data):
"""
Test installing from a local directory.
Expand Down

0 comments on commit beeacad

Please sign in to comment.