Skip to content

Commit

Permalink
more fixes for compatibility with older openmdao versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Aug 10, 2023
1 parent 60a3912 commit 04086c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ def test_brachistochrone_polynomial_control_gauss_lobatto(self):

for dymos_type, prom_names in map_type_to_promnames.items():
prom_outputs = {meta['prom_name'] for abs_path, meta in
ts_group.list_outputs(tags=[dymos_type], out_stream=None)}
ts_group.list_outputs(tags=[dymos_type], prom_name=True, out_stream=None)}
self.assertSetEqual(prom_outputs, prom_names,
msg=f'\n{dymos_type}\nin outputs: {prom_outputs}\nexpected: {prom_names}')

Expand Down Expand Up @@ -691,7 +691,7 @@ def test_brachistochrone_polynomial_control_radau(self):

for dymos_type, prom_names in map_type_to_promnames.items():
prom_outputs = {meta['prom_name'] for abs_path, meta in
ts_group.list_outputs(tags=[dymos_type], out_stream=None)}
ts_group.list_outputs(tags=[dymos_type], prom_name=True, out_stream=None)}
self.assertSetEqual(prom_outputs, prom_names,
msg=f'\n{dymos_type}\nin outputs: {prom_outputs}\nexpected: {prom_names}')

Expand Down

0 comments on commit 04086c5

Please sign in to comment.