diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-04 11:23:23 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-04 11:23:23 +0200 |
commit | a3f39c23157cd094d50b3b661be6574cd1814305 (patch) | |
tree | 4b19cad9f2513e0d926ad7961866bf883a1ae586 | |
parent | 97e28348165d88040fbdc1772c69ae3d06c7378f (diff) | |
download | spack-a3f39c23157cd094d50b3b661be6574cd1814305.tar.gz spack-a3f39c23157cd094d50b3b661be6574cd1814305.tar.bz2 spack-a3f39c23157cd094d50b3b661be6574cd1814305.tar.xz spack-a3f39c23157cd094d50b3b661be6574cd1814305.zip |
autopep8 : fixed style issues
-rw-r--r-- | lib/spack/spack/test/modules.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/spack/test/modules.py b/lib/spack/spack/test/modules.py index 9320f6673f..d76e0cd054 100644 --- a/lib/spack/spack/test/modules.py +++ b/lib/spack/spack/test/modules.py @@ -103,6 +103,7 @@ configuration_conflicts = { class HelperFunctionsTests(unittest.TestCase): + def test_update_dictionary_extending_list(self): target = { 'foo': { @@ -139,6 +140,7 @@ class HelperFunctionsTests(unittest.TestCase): class TclTests(MockPackagesTest): + def setUp(self): super(TclTests, self).setUp() self.configuration_obj = spack.modules.CONFIGURATION @@ -163,7 +165,8 @@ 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') + self.assertRaises(TypeError, spack.modules.dependencies, + spec, 'non-existing-tag') def test_autoload(self): spack.modules.CONFIGURATION = configuration_autoload_direct |