test_fuelTankConnections

Verify Python lifetimes and native access through fuel-tank connections.

test_fuelTankConnections.connection(request)[source]

Supply each concrete effector and its tank connection method.

test_fuelTankConnections.test_connection_cycle_is_collectible(connection)[source]

User references back to the tank remain visible to garbage collection.

test_fuelTankConnections.test_connection_survives_tank(connection)[source]

A tank neither owns nor destroys an effector still held by the caller.

test_fuelTankConnections.test_dynamic_thruster_requires_tank_model()[source]

A rejected connection is not retained and can be retried after configuration.

test_fuelTankConnections.test_null_connection_is_rejected(method)[source]

Null connections raise before entering the lists used by mass assembly.

test_fuelTankConnections.test_slosh_allocation_after_scope_exit(constructor)[source]

The tank can retrieve particle mass and assign its share of fuel flow.

test_fuelTankConnections.test_tank_retains_connections(connection)[source]

Each connection survives local scope and is released with its tank.

test_fuelTankConnections.test_thruster_mass_flow_after_scope_exit(thruster_module)[source]

The tank can read thruster flow after the creating helper has returned.