test_thrusterDynamicDataAccess

Regression test for issue #1254.

The thrusterData member of ThrusterDynamicEffector is a std::vector<std::shared_ptr<THRSimConfig>>. After THRSimConfig was changed to a shared pointer (commit f93eaa97b) the SWIG %template still targeted the old value type, so thrusterData came back to Python as an opaque SwigPyObject that could not be indexed or iterated. This test pins the member to behave as an iterable list of THRSimConfig objects.

test_thrusterDynamicDataAccess.test_thrusterData_is_iterable_list()[source]

Test that thrusterData exposes THRSimConfig objects in Python.