autopep8 : fixed style issues

This commit is contained in:
alalazo 2016-06-04 11:23:23 +02:00
parent 97e2834816
commit a3f39c2315

View File

@ -103,6 +103,7 @@ def mock_open(filename, mode):
class HelperFunctionsTests(unittest.TestCase):
def test_update_dictionary_extending_list(self):
target = {
'foo': {
@ -139,6 +140,7 @@ def test_inspect_path(self):
class TclTests(MockPackagesTest):
def setUp(self):
super(TclTests, self).setUp()
self.configuration_obj = spack.modules.CONFIGURATION
@ -163,7 +165,8 @@ 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')
self.assertRaises(TypeError, spack.modules.dependencies,
spec, 'non-existing-tag')
def test_autoload(self):
spack.modules.CONFIGURATION = configuration_autoload_direct