Skip to content

Commit beeacad

Browse files
committed
Failing test for pypa#6158
1 parent acdbcf7 commit beeacad

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/functional/test_install.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,21 @@ def test_vcs_url_urlquote_normalization(script, tmpdir):
365365
)
366366

367367

368+
def test_basic_install_from_local_directory_with_no_cache_dir(script, data):
369+
"""
370+
Test installing with --no-cache-dir, so wheels can't be built there.
371+
"""
372+
to_install = data.packages.join("FSPkg")
373+
result = script.pip(
374+
'install', to_install, '--no-cache-dir', expect_error=False)
375+
fspkg_folder = script.site_packages / 'fspkg'
376+
egg_info_folder = (
377+
script.site_packages / 'FSPkg-0.1.dev0-py%s.egg-info' % pyversion
378+
)
379+
assert fspkg_folder in result.files_created, str(result.stdout)
380+
assert egg_info_folder in result.files_created, str(result)
381+
382+
368383
def test_basic_install_from_local_directory(script, data):
369384
"""
370385
Test installing from a local directory.

0 commit comments

Comments
 (0)