test_integratorOwnership

Verify Python integrator ownership transfer and propagation after collection.

test_integratorOwnership.dynamics_object(request)[source]

Construct a dynamics owner that exposes the shared interface.

test_integratorOwnership.test_explicitly_disowned_integrator_survives_collection(use_attribute)[source]

Legacy explicit disowning before installation still allows normal propagation.

test_integratorOwnership.test_inline_integrator_survives_collection(integrator_name, use_attribute)[source]

Temporary integrator wrappers may disappear before initialization and propagation.

test_integratorOwnership.test_owner_can_be_destroyed_before_disowned_proxy(proxy_source)[source]

Dropping an integrator proxy after its C++ owner cannot delete it a second time.

test_integratorOwnership.test_rejection_preserves_active_integrator(dynamics_object)[source]

Rejected null or mismatched integrators leave the existing owner usable.

test_integratorOwnership.test_replaced_integrator_cannot_be_reinstalled()[source]

Original and borrowed proxies cannot reinstall an integrator after replacement.

test_integratorOwnership.test_replacement_preserves_synchronized_propagation()[source]

Replacing a primary integrator preserves both synchronized spacecraft states.

test_integratorOwnership.test_transfer_and_reinstall(dynamics_object, use_attribute, disown_method)[source]

Keyword calls and attribute assignment preserve explicit disowning and reinstalling.