2
0
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:
Oliver Walters
2020-10-30 21:34:56 +11:00
parent e049ca1a85
commit 1caa341f8e
6 changed files with 13 additions and 12 deletions

View File

@ -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.