OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
202 stars 65 forks source link

Update tests on reports to match OpenMDAO API changes #1089

Closed kaushikponnapalli closed 1 month ago

kaushikponnapalli commented 1 month ago

Description

OpenMDAO PR 3287 changed the API for set_reports_dir/get_reports_dir. This has caused dymos tests to fail on the latest version of OpenMDAO.

Example

TestSubproblemReportToggle in test_brachistochrone_subprob_reports.py fails with the error RuntimeError: The get_reports_dir function in openmdao.api has been replaced by the get_reports_dir method on Problem and System.

Dymos Version

1.10.1-dev

Relevant environment information

No response