Update to latest version of pytest and dependencies (#9087)

* Update to latest version of pytest and dependencies

* Fix bug in installation tests
This commit is contained in:
Adam J. Stewart
2018-08-25 14:12:46 -05:00
committed by GitHub
parent 3c292de6bd
commit cc01e89d6b
14 changed files with 111 additions and 36 deletions

View File

@@ -400,7 +400,7 @@ def import_module_test(self):
# Make sure we are importing the installed modules,
# not the ones in the current directory
with working_dir('..'):
with working_dir('spack-test', create=True):
for module in self.import_modules:
self.python('-c', 'import {0}'.format(module))