(self)
| 99 | assert issubclass(RedditAPIException, PRAWException) |
| 100 | |
| 101 | def test_items(self): |
| 102 | container = RedditAPIException([ |
| 103 | ["BAD_SOMETHING", "invalid something", "some_field"], |
| 104 | RedditErrorItem("BAD_SOMETHING", field="some_field", message="invalid something"), |
| 105 | ]) |
| 106 | for exception in container.items: |
| 107 | assert isinstance(exception, RedditErrorItem) |
| 108 | |
| 109 | |
| 110 | class TestRedditErrorItem: |
nothing calls this directly
no test coverage detected