fix test_uninstall_console_scripts
This particular test checks which files are
created. Since we now build in place, expect the .egg-info directory to be created.
@@ -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):
