2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +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

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__()