summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
author百地 希留耶 <65301509+KiruyaMomochi@users.noreply.github.com>2022-03-10 00:09:57 +0900
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-04-14 11:08:17 +0200
commitd4f23268245333bb32f13606dbc3d53c1f862002 (patch)
tree03b3a2f763658f8ec206332884668b5af7072e2c /lib
parent9edfd251348860bcfa041bfa28502fa384f3baf6 (diff)
downloadspack-d4f23268245333bb32f13606dbc3d53c1f862002.tar.gz
spack-d4f23268245333bb32f13606dbc3d53c1f862002.tar.bz2
spack-d4f23268245333bb32f13606dbc3d53c1f862002.tar.xz
spack-d4f23268245333bb32f13606dbc3d53c1f862002.zip
Fix tab completion erroring with `spack unit-test` (#29405)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/commands.py b/lib/spack/spack/cmd/commands.py
index f58c0aab4b..2f6186a7db 100644
--- a/lib/spack/spack/cmd/commands.py
+++ b/lib/spack/spack/cmd/commands.py
@@ -117,7 +117,7 @@ _positional_to_subroutine = {
'virtual': '_providers',
'namespace': '_repos',
'hash': '_all_resource_hashes',
- 'pytest': '_tests',
+ 'pytest': '_unit_tests',
}