ignore depreciated function in coverage

This commit is contained in:
Matthias 2022-03-13 21:01:16 +01:00
parent 080ee2ea50
commit 5f9f5555b6
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -88,6 +88,6 @@ class InvenTreePlugin(InvenTreePluginBase):
"""
This is here for leagcy reasons and will be removed in the next major release
"""
def __init__(self):
def __init__(self): # pragma: no cover
warnings.warn("Using the InvenTreePlugin is depreceated", DeprecationWarning)
super().__init__()