diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-04 11:20:35 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-04 11:20:35 +0200 |
commit | 97e28348165d88040fbdc1772c69ae3d06c7378f (patch) | |
tree | 54aff67610a6ddff24027eedc0a7bc42f9b49d2c | |
parent | 2207ab8f23d099f535e95eec6b604862a86e7275 (diff) | |
download | spack-97e28348165d88040fbdc1772c69ae3d06c7378f.tar.gz spack-97e28348165d88040fbdc1772c69ae3d06c7378f.tar.bz2 spack-97e28348165d88040fbdc1772c69ae3d06c7378f.tar.xz spack-97e28348165d88040fbdc1772c69ae3d06c7378f.zip |
unit test : wrong tag for dependencies
-rw-r--r-- | lib/spack/spack/test/modules.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/test/modules.py b/lib/spack/spack/test/modules.py index 94d508853c..9320f6673f 100644 --- a/lib/spack/spack/test/modules.py +++ b/lib/spack/spack/test/modules.py @@ -163,6 +163,7 @@ class TclTests(MockPackagesTest): 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 |