unit tests: switch test/cmd/config.py to mock packages (#50313)
This commit is contained in:
parent
5c7fe24bec
commit
3de68ef976
@ -20,6 +20,8 @@
|
||||
config = spack.main.SpackCommand("config")
|
||||
env = spack.main.SpackCommand("env")
|
||||
|
||||
pytestmark = pytest.mark.usefixtures("mock_packages")
|
||||
|
||||
|
||||
def _create_config(scope=None, data={}, section="packages"):
|
||||
scope = scope or spack.config.default_modify_scope()
|
||||
|
Loading…
Reference in New Issue
Block a user