Skip to content

Commit dd35ac1

Browse files
committed
test: Add more cases for the man page check
1 parent 0603c0b commit dd35ac1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/mockdata/mock_files.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,16 @@
222222
Pip3ManPagesPackage = get_tested_mock_package(
223223
lazyload=True,
224224
files={
225+
'/usr/bin/pip': {'content': '', 'metadata': {'mode': 0o755 | stat.S_IFREG}},
226+
'/usr/bin/pip3': {'content': '', 'metadata': {'mode': 0o755 | stat.S_IFREG}},
227+
'/usr/bin/pip3.13': {'content': '', 'metadata': {'mode': 0o755 | stat.S_IFREG}},
228+
'/usr/bin/pip3.13.3': {'content': '', 'metadata': {'mode': 0o755 | stat.S_IFREG}},
225229
'/usr/bin/pip3.14': {'content': '', 'metadata': {'mode': 0o755 | stat.S_IFREG}},
226230
'/usr/bin/pip-3.14': {'content': '', 'metadata': {'mode': 0o755 | stat.S_IFREG}},
231+
'/usr/share/man/man1/pip.2': {'content': 'text'},
232+
'/usr/share/man/man1/pip3.1posix': {'content': 'text'},
233+
'/usr/share/man/man1/pip3.13.1': {'content': 'text'},
234+
'/usr/share/man/man1/pip3.13.3.1posix.xz': {'content': 'xz'},
227235
'/usr/share/man/man1/pip3.14.1.gz': {'content': 'gz'},
228236
'/usr/share/man/man1/pip-3.14.1.gz': {'content': 'gz'},
229237
},

0 commit comments

Comments
 (0)