unit test : wrong tag for dependencies
This commit is contained in:
parent
2207ab8f23
commit
97e2834816
@ -163,6 +163,7 @@ def test_simple_case(self):
|
|||||||
spec = spack.spec.Spec('mpich@3.0.4 arch=x86-linux')
|
spec = spack.spec.Spec('mpich@3.0.4 arch=x86-linux')
|
||||||
content = self.get_modulefile_content(spec)
|
content = self.get_modulefile_content(spec)
|
||||||
self.assertTrue('module-whatis "mpich @3.0.4"' in content)
|
self.assertTrue('module-whatis "mpich @3.0.4"' in content)
|
||||||
|
self.assertRaises(TypeError, spack.modules.dependencies, spec, 'non-existing-tag')
|
||||||
|
|
||||||
def test_autoload(self):
|
def test_autoload(self):
|
||||||
spack.modules.CONFIGURATION = configuration_autoload_direct
|
spack.modules.CONFIGURATION = configuration_autoload_direct
|
||||||
|
Loading…
Reference in New Issue
Block a user