diff options
Diffstat (limited to 'lib/spack/spack/test/multimethod.py')
-rw-r--r-- | lib/spack/spack/test/multimethod.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/spack/spack/test/multimethod.py b/lib/spack/spack/test/multimethod.py index 4627e06142..969c987da8 100644 --- a/lib/spack/spack/test/multimethod.py +++ b/lib/spack/spack/test/multimethod.py @@ -76,9 +76,9 @@ class MultiMethodTest(MockPackagesTest): self.assertRaises(AmbiguousMethodError, pkg.different_by_dep) - def test_one_dep_match(self): - pass + def test_virtual_dep_match(self): + pkg = packages.get('multimethod^mpich2') + self.assertEqual(pkg.different_by_virtual_dep(), 2) - - def test_one_dep_match(self): - pass + pkg = packages.get('multimethod^mpich@1.0') + self.assertEqual(pkg.different_by_virtual_dep(), 1) |