summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
author百地 希留耶 <65301509+KiruyaMomochi@users.noreply.github.com>2022-03-10 00:09:57 +0900
committerGitHub <noreply@github.com>2022-03-09 16:09:57 +0100
commit3370d3f57e2685963ed155e86ce635e1e0644b83 (patch)
tree4ff259c2d14df91fe6aefd838329ffaeb757829b /lib
parent3df90e3e33dd9857a8d9bdd206a8a1ed2fd82675 (diff)
downloadspack-3370d3f57e2685963ed155e86ce635e1e0644b83.tar.gz
spack-3370d3f57e2685963ed155e86ce635e1e0644b83.tar.bz2
spack-3370d3f57e2685963ed155e86ce635e1e0644b83.tar.xz
spack-3370d3f57e2685963ed155e86ce635e1e0644b83.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 5822bc06ca..25653b58ae 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',
}