unit test : wrong tag for dependencies

This commit is contained in:
alalazo 2016-06-04 11:20:35 +02:00
parent 2207ab8f23
commit 97e2834816

View File

@ -163,6 +163,7 @@ def test_simple_case(self):
spec = spack.spec.Spec('mpich@3.0.4 arch=x86-linux')
content = self.get_modulefile_content(spec)
self.assertTrue('module-whatis "mpich @3.0.4"' in content)
self.assertRaises(TypeError, spack.modules.dependencies, spec, 'non-existing-tag')
def test_autoload(self):
spack.modules.CONFIGURATION = configuration_autoload_direct