2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-10-23 09:27:39 +00:00

ignore in coverage

This commit is contained in:
Matthias Mair
2025-10-18 22:03:53 +02:00
parent 72286c01ea
commit 0dabc04e0b

View File

@@ -143,7 +143,7 @@ class FilteredSerializers(InvenTreeAPITestCase):
def sample(self, obj):
"""Sample method field."""
return 'sample'
return 'sample' # pragma: no cover
with self.assertRaises(Exception) as cm:
_ = BadSerializer()