Skip to content

Commit 6b6dee2

Browse files
committed
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.
1 parent a5fdde2 commit 6b6dee2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/functional/test_uninstall.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,16 @@ def test_uninstall_console_scripts(script):
271271
sorted(result.files_created.keys())
272272
)
273273
result2 = script.pip('uninstall', 'discover', '-y')
274-
assert_all_changes(result, result2, [script.venv / 'build', 'cache'])
274+
assert_all_changes(
275+
result,
276+
result2,
277+
[
278+
script.venv / 'build',
279+
'cache',
280+
script.scratch / 'discover' / 'discover.egg-info',
281+
script.scratch / 'discover' / 'pip-egg-info',
282+
]
283+
)
275284

276285

277286
def test_uninstall_console_scripts_uppercase_name(script):

0 commit comments

Comments
 (0)