Skip to content

[Callbacks] TST Add test to check if RichTask tree mirrors the CallbackContext tree #33338

@StefanieSenger

Description

@StefanieSenger

related to #27676

It might be worth adding a test in test_progressbar.py that verifies that the RichTask tree mirrors the CallbackContext tree. This would guard against regressions if RichProgressMonitor (which builds the tree) is modified in the future.

Both trees should have an identical structure except for the leaf nodes (max_subtasks=0) which are excluded in RichTask.__iter__().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions