MCPcopy
hub / github.com/praw-dev/praw / test_pin__comment

Method test_pin__comment

tests/integration/models/test_user.py:101–106  ·  view source on GitHub ↗
(self, reddit)

Source from the content-addressed store, hash-verified

99 assert new_posts == submission_list
100
101 def test_pin__comment(self, reddit):
102 reddit.read_only = False
103 comment = reddit.comment("hjaga35")
104 reddit.user.pin(comment)
105 new_content = next(reddit.user.me().new(limit=1))
106 assert new_content != comment
107
108 def test_pin__deleted_submission(self, reddit):
109 reddit.read_only = False

Callers

nothing calls this directly

Calls 4

commentMethod · 0.80
pinMethod · 0.80
meMethod · 0.80
newMethod · 0.45

Tested by

no test coverage detected