MCPcopy Create free account
hub / github.com/ehForwarderBot/ehForwarderBot / test_copy

Function test_copy

tests/test_chat.py:23–32  ·  view source on GitHub ↗
(slave_channel)

Source from the content-addressed store, hash-verified

21
22
23def test_copy(slave_channel):
24 chat = PrivateChat(
25 channel=slave_channel,
26 uid="00001",
27 name="Chat",
28 alias="chaT"
29 )
30 copy = chat.copy()
31 assert chat == copy
32 assert chat is not copy
33
34
35def test_verify_valid_chat(slave_channel):

Callers

nothing calls this directly

Calls 2

PrivateChatClass · 0.90
copyMethod · 0.80

Tested by

no test coverage detected