ilastik icon indicating copy to clipboard operation
ilastik copied to clipboard

Warnings about workflows missing in tests because of runtime_cfg not set

Open k-dominik opened this issue 10 months ago • 1 comments

The tests involving tiktorch are quite defensive - it's basically only required for these. The workflow listing of the shell (instantiated by any gui test) expects certain workflows to be there, but since the tiktorch exectable is unset - it complains.

I see two options:

  1. Add a autouse fixture to all tests, that sets ilastik.config.runtime_cfg.tiktorch_executable - all tests will fail if tiktorch is not present for some reason
  2. Ignore the warning in gui tests - acceptable since we don't actually test this workflow...

Originally posted by @k-dominik in https://github.com/ilastik/ilastik/issues/2992#issuecomment-2935020113

k-dominik avatar Jun 03 '25 12:06 k-dominik

Nothing we can do specifically in run_gui_tests or launchShell to keep the solution near the problem?

btbest avatar Jun 03 '25 14:06 btbest