aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps
diff options
context:
space:
mode:
authorGravatar bast <[email protected]>2021-06-24 07:34:59 -0700
committerGravatar bast <[email protected]>2021-06-24 07:34:59 -0700
commit05730b3c55811ec2b9c7c0ff8484714a3ee498b2 (patch)
tree707006f55c3062b13c389cfcd50014bb34ba8b6b /pydis_site/apps
parentAdjust Message model to support new nitro messages with over 4000 chars (diff)
Add pragma: no cover to mark failure condition of test as known ok
Diffstat (limited to 'pydis_site/apps')
-rw-r--r--pydis_site/apps/api/tests/test_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/tests/test_models.py b/pydis_site/apps/api/tests/test_models.py
index 1303639e..5c9ddea4 100644
--- a/pydis_site/apps/api/tests/test_models.py
+++ b/pydis_site/apps/api/tests/test_models.py
@@ -56,7 +56,7 @@ class NitroMessageLengthTest(TestCase):
try:
message.clean_fields()
- except Exception as e:
+ except Exception as e: # pragma: no cover
self.fail(f"Creation of message of length 3950 failed with: {e}")
def test_create_failure(self):