Skip to content

Commit

Permalink
Merge pull request OpenMDAO#3386 from swryan/fixtest
Browse files Browse the repository at this point in the history
Fixed an option serialization test
  • Loading branch information
swryan authored Oct 17, 2024
2 parents 4180ff2 + a65e85c commit 53dd40e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions openmdao/core/tests/test_serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ def test_recordable_only(self):
p.setup()
p.final_setup()

self.assertDictEqual(dict(comp.options.items(recordable_only=True)), {
'always_opt': False,
'distributed': False,
'run_root_only': False
})
# no errors
opts_dict = dict(comp.options.items(recordable_only=True))

# bad opt excluded
self.assertTrue('bad' not in opts_dict)


if __name__ == '__main__':
Expand Down

0 comments on commit 53dd40e

Please sign in to comment.