aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-05-26 19:06:57 +0200
committerGravatar Leon Sandøy <[email protected]>2020-05-26 19:07:14 +0200
commit1ab34dd48fce2de70db1fb2dd6da06f752460829 (patch)
treeb3fab2600ee302edfb21323d2631b52bc3b7271a /tests/helpers.py
parentSwap the order for the validate_cache checks. (diff)
Add a test for RuntimeErrors.
This just tests that the various RuntimeErrors are reachable - that includes the error about not having a bot instance, the one about not being a class attribute, and the one about not having instantiated the class. This test addresses a concern raised by @MarkKoz in a review. I've decided not to test that actual contents of these RuntimeErrors, because I believe that sort of testing is a bit too brittle. It shouldn't break a test just to change the content of an error string.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions