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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user