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

Method test_notes__things

tests/integration/test_reddit.py:271–276  ·  view source on GitHub ↗
(self, reddit)

Source from the content-addressed store, hash-verified

269 assert notes[2] is None
270
271 def test_notes__things(self, reddit):
272 reddit.read_only = False
273 thing = reddit.submission("tpbemz")
274 notes = list(reddit.notes.things(thing))
275 assert len(notes) == 10
276 assert notes[0].user == thing.author
277
278 @pytest.mark.add_placeholder(AVAILABLE_NAME="prawtestuserabcd1234")
279 def test_username_available__available(self, reddit):

Callers

nothing calls this directly

Calls 2

thingsMethod · 0.80
submissionMethod · 0.45

Tested by

no test coverage detected