2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-13 08:21:26 +00:00

Display testing status for a stock item

This commit is contained in:
Oliver Walters
2020-05-17 22:33:41 +10:00
parent 02b0c0831d
commit 1cc0977816
6 changed files with 19 additions and 9 deletions

View File

@ -456,11 +456,5 @@ class TestResultTest(StockTest):
test='sew cushion',
result=True
)
results = item.testResultMap()
for key in results.keys():
result = results[key]
self.assertTrue(item.passedAllRequiredTests())