diff options
| author | 2021-05-07 09:36:49 +0530 | |
|---|---|---|
| committer | 2021-10-11 12:05:40 +0530 | |
| commit | 86988ac67ceaf6fb6fb5cfada0d964fef4b591e3 (patch) | |
| tree | 86f464326573b49da3b668b2c6c4236af083152e /tests/_autospec.py | |
| parent | (incidents): Refactor text shortner (diff) | |
(incidents): Add test for text shortner
Pass all 3 cases of text shortening to the test case and test them, the cases being:
i. If the message is just one word, then shorten to 50 characters.
ii. Maximum lines being 3.
iii. Maximum characters being 300.
This commit also removes a misc bug, of passing self, while asserting equal.
Diffstat (limited to 'tests/_autospec.py')
0 files changed, 0 insertions, 0 deletions