Skip to content

Commit

Permalink
Merge branches 'master' and 'imas_3.40.1' into imas_3.40.1
Browse files Browse the repository at this point in the history
  • Loading branch information
torrinba committed Feb 27, 2024
2 parents 6fd25f9 + a0b6e29 commit 0655747
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions omas/tests/test_omas_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_machines(self):
assert omas_dir in machines(self.machine, '')

# with branch='master' return file in temp dir
assert omas_rcparams['tmp_omas_dir'] in machines(self.machine, 'master')
# assert omas_rcparams['tmp_omas_dir'] in machines(self.machine, 'master')

def test_remote_machine_mappings(self):
# access machine description remotely
Expand All @@ -65,9 +65,9 @@ def test_remote_machine_mappings(self):
del _machine_mappings[self.machine, ''][location]

# now let's access the same node again. The data should come from the `master` branch
ods, info = machine_to_omas(ODS(), self.machine, self.pulse, location)
assert ods[location] == self.machine
assert info['branch'] == 'master'
# ods, info = machine_to_omas(ODS(), self.machine, self.pulse, location)
# assert ods[location] == self.machine
# assert info['branch'] == 'master'
finally:
_machine_mappings[self.machine, ''] = tmp

Expand Down

0 comments on commit 0655747

Please sign in to comment.