Skip to content

Commit

Permalink
fix install test at NERSC
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Bailey authored and Stephen Bailey committed Mar 27, 2017
1 parent f09b14a commit 53ce32e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions py/desiutil/test/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,12 +329,13 @@ def test_set_install_dir(self):
except KeyError:
old_root = None
environ['NERSC_HOST'] = 'edison'
options = self.desiInstall.get_options(['desiutil', 'master'])
test_code_version = 'test-blat-foo'
options = self.desiInstall.get_options(['desiutil', test_code_version])
self.desiInstall.get_product_version()
install_dir = self.desiInstall.set_install_dir()
self.assertEqual(install_dir, join(
self.desiInstall.default_nersc_dir['edison'], 'code',
'desiutil', 'master'))
'desiutil', test_code_version))
if old_root is not None:
environ['DESI_PRODUCT_ROOT'] = old_root
if old_nersc_host is None:
Expand Down

0 comments on commit 53ce32e

Please sign in to comment.