@@ -36,7 +36,7 @@ def test_show_with_files_not_found(script, data):
36
36
assert any (line .startswith ('Location: ' ) for line in lines )
37
37
assert 'Requires: ' in lines
38
38
assert 'Files:' in lines
39
- assert 'Cannot locate installed-files.txt' in lines
39
+ assert 'Cannot locate RECORD or installed-files.txt' in lines
40
40
41
41
42
42
def test_show_with_files_from_wheel (script , data ):
@@ -48,7 +48,7 @@ def test_show_with_files_from_wheel(script, data):
48
48
result = script .pip ('show' , '-f' , 'simple.dist' )
49
49
lines = result .stdout .splitlines ()
50
50
assert 'Name: simple.dist' in lines
51
- assert 'Cannot locate installed-files.txt' not in lines [6 ], lines [6 ]
51
+ assert 'Cannot locate RECORD or installed-files.txt' not in lines [6 ], lines [6 ]
52
52
assert re .search (r"Files:\n( .+\n)+" , result .stdout )
53
53
54
54
@@ -60,7 +60,7 @@ def test_show_with_all_files(script):
60
60
script .pip ('install' , 'initools==0.2' )
61
61
result = script .pip ('show' , '--files' , 'initools' )
62
62
lines = result .stdout .splitlines ()
63
- assert 'Cannot locate installed-files.txt' not in lines [6 ], lines [6 ]
63
+ assert 'Cannot locate RECORD or installed-files.txt' not in lines [6 ], lines [6 ]
64
64
assert re .search (r"Files:\n( .+\n)+" , result .stdout )
65
65
66
66
0 commit comments