Skip to content

Commit

Permalink
fix test_uninstall_console_scripts
Browse files Browse the repository at this point in the history
This particular test checks which files are
created. Since we now build in place, expect the .egg-info directory to be created.
  • Loading branch information
sbidoul committed Apr 10, 2020
1 parent 409ee7c commit 1cbbf58
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/functional/test_uninstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,15 @@ def test_uninstall_console_scripts(script):
sorted(result.files_created.keys())
)
result2 = script.pip('uninstall', 'discover', '-y')
assert_all_changes(result, result2, [script.venv / 'build', 'cache'])
assert_all_changes(
result,
result2,
[
script.venv / 'build',
'cache',
script.scratch / 'discover' / 'discover.egg-info',
]
)


def test_uninstall_console_scripts_uppercase_name(script):
Expand Down

0 comments on commit 1cbbf58

Please sign in to comment.