2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-03 05:48:47 +00:00

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 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) warnings.warn("Using the InvenTreePlugin is depreceated", DeprecationWarning)
super().__init__() super().__init__()