(self, reddit)
| 252 | assert reddit.live.now() is None |
| 253 | |
| 254 | def test_notes__call__(self, reddit): |
| 255 | reddit.read_only = False |
| 256 | notes = list( |
| 257 | reddit.notes( |
| 258 | pairs=[ |
| 259 | (reddit.subreddit("SubTestBot1"), "Watchful1"), |
| 260 | ("SubTestBot1", reddit.redditor("watchful12")), |
| 261 | ("SubTestBot1", "spez"), |
| 262 | ], |
| 263 | things=[reddit.submission("jlbw48")], |
| 264 | ) |
| 265 | ) |
| 266 | assert len(notes) == 4 |
| 267 | assert notes[0].user.name.lower() == "watchful1" |
| 268 | assert notes[1].user.name.lower() == "watchful12" |
| 269 | assert notes[2] is None |
| 270 | |
| 271 | def test_notes__things(self, reddit): |
| 272 | reddit.read_only = False |
nothing calls this directly
no test coverage detected