MCPcopy
hub / github.com/nonebot/nonebot2 / test_segment_copy

Function test_segment_copy

tests/test_adapters/test_message.py:87–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85
86
87def test_segment_copy():
88 origin = FakeMessageSegment.text("text")
89 copy = origin.copy()
90 assert origin is not copy
91 assert origin == copy
92
93
94def test_message_add():

Callers

nothing calls this directly

Calls 2

textMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected