Skip to content

Commit dce8972

Browse files
author
Noah Gorny
committed
tests: unit: Fix test_command.py after new command addition
1 parent f6ce9a0 commit dce8972

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/unit/test_commands.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
# These are the expected names of the commands whose classes inherit from
1313
# IndexGroupCommand.
14-
EXPECTED_INDEX_GROUP_COMMANDS = ['download', 'install', 'list', 'wheel']
14+
EXPECTED_INDEX_GROUP_COMMANDS = [
15+
'download', 'index', 'install', 'list', 'wheel']
1516

1617

1718
def check_commands(pred, expected):
@@ -49,7 +50,9 @@ def test_session_commands():
4950
def is_session_command(command):
5051
return isinstance(command, SessionCommandMixin)
5152

52-
expected = ['download', 'install', 'list', 'search', 'uninstall', 'wheel']
53+
expected = [
54+
'download', 'index', 'install', 'list', 'search', 'uninstall', 'wheel'
55+
]
5356
check_commands(is_session_command, expected)
5457

5558

0 commit comments

Comments
 (0)