summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/modules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/test/modules.py b/lib/spack/spack/test/modules.py
index 88f67090f1..c4cf2865bb 100644
--- a/lib/spack/spack/test/modules.py
+++ b/lib/spack/spack/test/modules.py
@@ -251,7 +251,7 @@ class TclTests(ModuleFileGeneratorTests):
# - 1 ('build','link') dependency
# - 1 ('build',) dependency
# Just make sure the 'build' dependency is not there
- spack.modules.CONFIGURATION = configuration_autoload_direct
+ spack.modules.CONFIGURATION = self.configuration_autoload_direct
spec = spack.spec.Spec('dtbuild1')
content = self.get_modulefile_content(spec)
self.assertEqual(len([x for x in content if 'is-loaded' in x]), 2)
@@ -262,7 +262,7 @@ class TclTests(ModuleFileGeneratorTests):
# - 1 ('build','link') dependency
# - 1 ('build',) dependency
# Just make sure the 'build' dependency is not there
- spack.modules.CONFIGURATION = configuration_autoload_all
+ spack.modules.CONFIGURATION = self.configuration_autoload_all
spec = spack.spec.Spec('dtbuild1')
content = self.get_modulefile_content(spec)
self.assertEqual(len([x for x in content if 'is-loaded' in x]), 2)