nuketesting.bbox_checks.bbox_checker ==================================== .. py:module:: nuketesting.bbox_checks.bbox_checker .. autoapi-nested-parse:: Module for comparing bbox data. Functions --------- .. autoapisummary:: nuketesting.bbox_checks.bbox_checker.assert_bbox_shape nuketesting.bbox_checks.bbox_checker.assert_same_bbox Module Contents --------------- .. py:function:: assert_bbox_shape(node: nuke.Node, shape: list[int] | nuke.Box | str) -> None Assert that the node bbox matches the provided shape. :param node: The node to check. :param shape: A bounding box shape in the order [left, bottom, right, top] Strings are supported but need to follow the same ordering. Each value separated by a whitespace. .. py:function:: assert_same_bbox(node_a: nuke.Node, node_b: nuke.Node) -> None Assert that both nodes have the same bounding box. :param node_a: First node to check. :param node_b: Second node that will be checked. :raises AssertionError: The bounding boxed do not match.