OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
210 stars 67 forks source link

Update tests on reports to match OpenMDAO API changes #1089

Closed kaushikponnapalli closed 3 months ago

kaushikponnapalli commented 4 months 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