diff options
| author | 2020-05-26 19:06:57 +0200 | |
|---|---|---|
| committer | 2020-05-26 19:07:14 +0200 | |
| commit | 1ab34dd48fce2de70db1fb2dd6da06f752460829 (patch) | |
| tree | b3fab2600ee302edfb21323d2631b52bc3b7271a /tests/helpers.py | |
| parent | Swap 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