MCPcopy Create free account
hub / github.com/scanny/python-pptx / then_shape_line_is_a_LineFormat_object

Function then_shape_line_is_a_LineFormat_object

features/steps/shape.py:573–581  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

571
572@then("shape.line is a LineFormat object")
573def then_shape_line_is_a_LineFormat_object(context):
574 shape = context.shape
575 line_format = shape.line
576 line_format_cls_name = cls_qname(line_format)
577 expected_cls_name = "pptx.dml.line.LineFormat"
578 assert line_format_cls_name == expected_cls_name, "expected '%s', got '%s'" % (
579 expected_cls_name,
580 line_format_cls_name,
581 )
582
583
584@then("shape.name == '{expected_value}'")

Callers

nothing calls this directly

Calls 1

cls_qnameFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…