flux-framework / flux-sched

Fluxion Graph-based Scheduler
GNU Lesser General Public License v3.0
84 stars 39 forks source link

test: run t10001 under flux #1181

Closed jameshcorbett closed 1 month ago

jameshcorbett commented 1 month ago

Problem: t10001-resourcegraph does not run under flux by default, leading to test failures when the flux package cannot be imported.

Add a script for running Python tests under flux and make t10001 use it.

Fixes #1172.

jameshcorbett commented 1 month ago

LGTM! You might want to note in the commit message the source of the subflux script. (Just in case some future person wonders)

Good idea! Done. I also added a header docstring to the module saying so.

Setting MWP.