mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 03:00:54 +00:00
Fixes for unit tests
This commit is contained in:
@ -1130,6 +1130,9 @@ class StockItem(MPTTModel):
|
||||
def clear_test_results(self, **kwargs):
|
||||
"""
|
||||
Remove all test results
|
||||
|
||||
kwargs:
|
||||
TODO
|
||||
"""
|
||||
|
||||
# All test results
|
||||
@ -1139,7 +1142,6 @@ class StockItem(MPTTModel):
|
||||
|
||||
results.delete()
|
||||
|
||||
|
||||
def getTestResults(self, test=None, result=None, user=None):
|
||||
"""
|
||||
Return all test results associated with this StockItem.
|
||||
|
Reference in New Issue
Block a user