2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

Add function to make barcode for build order

This commit is contained in:
Oliver Walters
2021-02-17 13:47:14 +11:00
parent 98bd7dfa9a
commit 08cc866e74
3 changed files with 16 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class StockTest(TestCase):
# The "is_building" quantity should not be counted here
self.assertEqual(part.total_stock, n + 5)
self.assertEqual(part.quantity_being_built, 100)
self.assertEqual(part.quantity_being_built, 1)
def test_loc_count(self):
self.assertEqual(StockLocation.objects.count(), 7)