MCPcopy Create free account
hub / github.com/praw-dev/praw / test_str

Method test_str

tests/unit/test_exceptions.py:20–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 assert issubclass(ClientException, PRAWException)
19
20 def test_str(self):
21 assert str(ClientException()) == ""
22 assert str(ClientException("error message")) == "error message"
23
24
25class TestDuplicateReplaceException:

Callers

nothing calls this directly

Calls 1

ClientExceptionClass · 0.90

Tested by

no test coverage detected